ISA-tools / ISAvalidator-ISAconverter-BIImanager

The ISAvalidator, ISA converter and BII data manager tools
http://www.isa-tools.org
12 stars 15 forks source link

MAGEtab export: better Unit support #56

Open agbeltran opened 9 years ago

agbeltran commented 9 years ago

Reported by @sneumann as https://github.com/ISA-tools/ISAcreator/issues/283

I have a factor "Sampling time", which is defined in the Investigation, and added to the s_Study.txt with Units "hour" from UO:

"Factor Value[Sampling time]"   "Unit"  "Term Source REF"       "Term Accession Number"
"6"                             "hour"  "UO"                    "http://purl.obolibrary.org/obo/UO_0000032"

This gets exported into sdrf.txt as: "Factor Value[Sampling time]" "Unit[UnknownUnitType]"

while it should be: Unit[TimeUnit] for ArrayExpress.

Yours, Steffen