Skip to content

Commit 5e37a58

Browse files
committed
BF Import pydicom.values if first import is successful
1 parent 674bb25 commit 5e37a58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nibabel/pydicom_compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
try:
2323
import dicom as pydicom
24+
# Values not imported by default
25+
import pydicom.values
2426
except ImportError:
2527
try:
2628
import pydicom

0 commit comments

Comments
 (0)