Closed pbbaba closed 7 months ago
I added the
if..else
condition so as to avoid the code break if any dicom image does not contain these headers. It did break for 'Image Orientation Patient' tag.
.get("key")
should work and default to None
if there is no "key". So code should not break and if..else hence not needed
ping @pbbaba - do you have time to tune up the PR following the review?
I added the
if..else
condition so as to avoid the code break if any dicom image does not contain these headers. It did break for 'Image Orientation Patient' tag.I added these extra tags so as to make them accessible for naming the
perf
files during the BIDS conversion.