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.
1 parent 3a985f5 commit bbd420aCopy full SHA for bbd420a
nibabel/pydicom_compat.py
@@ -27,20 +27,21 @@
27
import dicom as pydicom
28
# Values not imported by default
29
import dicom.values
30
+ from dicom.sequence import Sequence
31
except ImportError:
32
try:
33
import pydicom
34
35
have_dicom = False
36
else: # pydicom module available
37
from pydicom.dicomio import read_file
38
+ from pydicom.sequence import Sequence
39
40
import pydicom.values
41
else: # dicom module available
42
read_file = pydicom.read_file
43
44
if have_dicom:
- from pydicom.sequence import Sequence
45
46
# Versions >= 1.0
47
tag_for_keyword = pydicom.datadict.tag_for_keyword
0 commit comments