Open pvavra opened 4 years ago
@bpoldrack: I'll be using "FR: " in the title for feature requests - unless you prefer I tag them somehow else. I think, this way the titles are a bit easier to read..
"FR" is fine with me, although in this case I'd even regard that as a bug. It's absolutely true, that this should not be the case. import-dcm
is calling dicom2spec
after importing the data and passing the properties. This should never lead to unrolling importing step.
Misspecifying the
--properties
when callingdatalad hirni-dicom-import
will load the data into the annex, but then fail without producing astudyspec.json
file.I see two alternative solutions: A) the provided properties are sanity-checked before the data are imported and aborting import in case of a misspecification B) After fixing the properties argument, it is possible to "continue" creating the
studyspec.json
file, without having to re-import the data.This is relatively important when importing a large tarbar, as this takes time..