File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 46
46
# suppress warning
47
47
import nibabel .nicom .dicomwrappers as dw
48
48
49
+ # TODO: remove the kludge whenever
50
+ # https://github.com/moloney/dcmstack/pull/90 is merged and released
51
+ if not hasattr (dcm , "read_file" ):
52
+ dcm .read_file = dcm .dcmread
53
+
49
54
lgr = logging .getLogger (__name__ )
50
55
total_files = 0
51
56
# Might be monkey patched by user heuristic to tune desired compression level.
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ filterwarnings =
42
42
ignore:.*pkg_resources:DeprecationWarning
43
43
# <https://github.com/nipy/nipype/issues/3563>
44
44
ignore:.*Use setlocale.* instead:DeprecationWarning:nipype
45
+ # <https://github.com/nipy/nipype/pull/3670>
46
+ ignore:.*datetime.datetime.utcnow\(\) is deprecated.*:DeprecationWarning:nipype
45
47
46
48
[coverage:run]
47
49
include = heudiconv/*
You can’t perform that action at this time.
0 commit comments