You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The smarter_id attribute is not a good primary key since it incorporates additional information in its name like country and breed_code. This means that modifing a country or a breed_code for a sample causes inconsistencies between this primary id and fields, having a stable id which contains wrong informations. On the other way, fixing smarter_id relying on new data means that these ids will change with database version.
Describe the solution you'd like smarter_ids shold be anonymizes, maybe tracking the project name with the number (like SMARTER-OA-000002310, species need to be kept to avoid name collisions between goat and sheep
Describe alternatives you've considered
An alternative could be fix stuff after data import, using a mongoengine query to correct wrong values keeping smarter_id stable. However this means not to trust information in ids anymore.
Additional context
The Galway sheeps breed was tracked as Germany instead of Ireland since country was derived from a wrong set of coordinates. Code and country need to be fixed
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The
smarter_id
attribute is not a good primary key since it incorporates additional information in its name likecountry
andbreed_code
. This means that modifing acountry
or abreed_code
for a sample causes inconsistencies between this primary id and fields, having a stable id which contains wrong informations. On the other way, fixingsmarter_id
relying on new data means that these ids will change with database version.Describe the solution you'd like
smarter_ids
shold be anonymizes, maybe tracking the project name with the number (likeSMARTER-OA-000002310
, species need to be kept to avoid name collisions between goat and sheepDescribe alternatives you've considered
An alternative could be fix stuff after data import, using a mongoengine query to correct wrong values keeping
smarter_id
stable. However this means not to trust information in ids anymore.Additional context
The Galway sheeps breed was tracked as Germany instead of Ireland since country was derived from a wrong set of coordinates. Code and country need to be fixed
The text was updated successfully, but these errors were encountered: