Open homonecloco opened 6 years ago
In the tooltips, it may be useful to have the values that had been entered before in the experiment. For example, I have replicates at Zadoks (the growth stage unit) 11, 35, 60, 64, etc. As this are consistent time points, it showing which ones had been captured may reduce the chances of typos (34 is valid, but if it hasn't been entered don't suggest it, for example).
Since there are many ontology terms which start with numbers, it is not reasonable to assume that numeric input is not a term specifier.
I mean for the ontologies that have values as numbers. The example of Zadoks, is one that is based totally numeric. But a 'clear' example would be centimetres. If I select centimetres as unit, the value will not be an ontology.
Sure. But if you type '12' as 12 cm, how does the system know that you didn't mean '12-ethyl-8-propyl-3-vinyl-bacteriochlorophyllide d(1-)'. Its easy to cancel the onotology lookup, you just press enter, rather than clicking on one of the dropdown entries.
You have your field 'unit'. If you already set that, and you put '12-ethyl-8-propyl-3-vinyl-bacteriochlorophyllide d(1-)', it is not centimetres and it should validate that it is not a valid value for centimetres (I assume the ontology of centimetres is setup as a numeric value).
So you would want to have unit before value? i.e. Category - Unit - Value. I'm not sure thats very intuitive.
That is a good point. Usually the Unit would go after the value. So I don't think the order in the interface would change. However, if you are cloning samples, the units would be already filled. So, if the unit is already set, you could go trough the extra validation of numeric/non-numeric values. Does that make sense?
Sure it makes sense, but I don’t know if we want to change the ordering of the fields. Its very important to make things as intuitive as possible.
I agree on not changing the order of the fields. That is fine as it is.
So you would just manually set the unit first and then the value? Obviously the tabbing won’t work for this unless we were to set an option for that somewhere.
I think if you are doing a new sample, the current behaviour is fine. It is when you are editing a sample where you can add the validation. As I said in a previous comment, it would be when preparing a large batch of samples with the same fields.
Ok thanks for the input Ricardo. Do you by any chance have a spreadsheet with your sample information in it? We are going to allow to inputting of samples by uploading a spreadsheet quite soon, so this may get round your problems.
If the unit is numeric, there is no need to show the ontologies. Furthermore, it may lead to mistakenly clicking the name of an ontology instead of a number.