populse / mri_conv

3 stars 0 forks source link

Time data does not match format '%Y-%m-%d %H:%M:%S' in json files for "CreationDate" #18

Open manuegrx opened 2 weeks ago

manuegrx commented 2 weeks ago

Hi,

I converted DICOM from a Siemens MRI using mri_conv and there is an issue the metadata "CreationDate", the format is not the good one: "CreationDate": {"format":"yyyy-MM-dd HH:mm:ss","description":"","units":null,"type":"string","value":["20230324"]} It is an issue to export the data in populse mia (because there is a format verification before to import the data in populse mia).

For the same DICOM there is no problem with the other metadata with a date ("AcquistionDate"): {"format":"yyyy-MM-dd HH:mm:ss","description":"The date the acquisition of data that resulted in this image started","units":null,"type":"string","value":["2023-03-24 00:00:00"]}

I have this issue with all the DICOM of this studie (I collected the DICOM in SHANOIR, maybe it can explain in part the issue) I do not have this issue with others DICOM (from Philips MRI but also from others Siemens MRI).

@montigno Do you have any idea what might explain the problem? I can send you the data if needed.