From 338c2f3f504be9c66fcad26e30c0595176f45f78 Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Sun, 7 Jan 2024 10:16:41 +0100 Subject: [PATCH] Update genome.rb --- app/models/genome.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/models/genome.rb b/app/models/genome.rb index 2f15c7cc..a37f3e50 100644 --- a/app/models/genome.rb +++ b/app/models/genome.rb @@ -65,8 +65,13 @@ def required def important_sample_attributes { date: %i[collection_date], - location: %i[lat_lon lat lon], - toponym: %i[geo_loc_name geographic_location_country_and_or_sea], + location: %i[ + lat_lon lat lon + geographic_location_latitude geographic_location_longitude + ], + toponym: %i[ + geo_loc_name geographic_location_country_and_or_sea + ], environment: %i[ env_material sample_type env_biome isolation_source env_broad_scale env_local_scale env_medium