psychoinformatics-de / datalad-hirni

DataLad extension for (semi-)automated, reproducible processing of (medical/neuro)imaging data
http://datalad.org
Other
5 stars 8 forks source link

dcm-Archive with non-dicoms leads to error #154

Open TobiasKadelka opened 4 years ago

TobiasKadelka commented 4 years ago

After command

datalad hirni-import-dcm I get this error. Datalad version is 0.12.2

Metadata aggregation: 0%| | 0.00/1.00 [00:00<?, ? datasets/s[ERROR ] Failed to get metadata (dicom): 'FileDataset' object has no attribute 'SeriesInstanceUID' [dataset.py:getattr:783] [meta_extract(/data/project/rehab_eNKI/eNKI_data/.git/datalad/hirni_import/dicoms)] | 0.00/3.75k [00:00<?, ? Files/s]

Probably a not-dicom file, that needs to be ignored.