PhenoApps / Field-Book

https://fieldbook.phenoapps.org
GNU General Public License v2.0
53 stars 54 forks source link

[REQUEST]: Sensible defaults for trait formats for some imported traits with ontology information #881

Open noahddewitt opened 10 months ago

noahddewitt commented 10 months ago

Description

Apologies if this is not practical -- but trying to test out BrAPI field loading and syncing across many android phones, it would be useful to have sensible defaults for the trait format field, instead of formatting to text. For example, wheat Heading time -day|CO_321:0001235 could default to date. Traits with a 0-9 scale could default to numeric, etc.

Alternatives

No response

Additional Context

No response

trife commented 10 months ago

This should be possible now with BrAPI 2.1 but is a breedbase issue of not sending field book the correct format. @lukasmueller can comment further.

lukasmueller commented 10 months ago

Hi, good to know that it's a Breedbase issue. I created a ticket for this in the Breedbase GitHub repo at: https://github.com/solgenomics/sgn/issues/4804 Which field does the Fieldbook parse for this info?