Closed laceysanderson closed 5 years ago
My scale
unit was correctly identified as qualitative trait, however, my other traits I set to metris
with values 5.3, 2.2, 4.9 and 2.6 were set to qualitative as well. I was expecting it to be quantitative?
here is my data file.
I just double checked and it works perfectly. metris
is a common unit I've used in the past so maybe it re-used an existing unit in your case. Could you try again with a unique unit? You can ensure the unit doesn't already exist by using SELECT * FROM chado.cvterm WHERE name='YOUR UNIT HERE';
before you load your test data.
Confirmed it works on Reynold's test site with his data. There was a problem with the clone he was working on originally which is unrelated to this PR. As such I'm merging this simple change.
Metadata
Documentation:
Description
This PR adds automated testing to ensure the type of method is set properly. It also changes the default type to quantitative.
Dependencies
None
Testing?
NOTE: qualitative/quantitative are attached to the unit. In order to be detected as qualitative, a unit must have the word
Scale
in it; all other traits should be quantitative.