We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c0f8a1 + 008732b commit 82b89eeCopy full SHA for 82b89ee
heudiconv/external/dcmstack.py
@@ -9,7 +9,12 @@
9
except ImportError as e:
10
from heudiconv import lgr
11
# looks different between py2 and 3 so we go for very rudimentary matching
12
- if not ("No module" in str(e) and "dicom" in str(e)):
+ e_str = str(e)
13
+ # there were changes from how
14
+ if not (
15
+ ("No module" in e_str and "dicom" in e_str) or
16
+ ('has been removed in pydicom version' in e_str)
17
+ ):
18
raise
19
# a butt plug due to rename of dicom -> pydicom
20
import sys
0 commit comments