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

In SRA conversion, one instance of submission date incorrectly formatted #64

Closed djcomlab closed 7 years ago

djcomlab commented 7 years ago

When generating SRA export from BII-S-7, I found the converter incorrectly formats a submission_date in submission.xml

The submission_date attribute in the <SUBMISSION> element seems to come out incorrectly when using BII-S-7, where it appears in the XML as 0010-03-29T00:00:00.000Z rather than 2010-03-29T00:00:00.000Z, corresponding to the ISA tab field and value Study Submission Date 29/03/10

djcomlab commented 7 years ago

Might to be a bug as it turns out, as in BII-S-7 the date is entered as 29/03/10. The date formatter must not be able to compute that the 10 means 2010, so changes it to 0010 (which logically makes sense).

djcomlab commented 7 years ago

If change input data in ISA tab to 29/03/2010 it works. Closing.