File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 4646 # suppress warning
4747 import nibabel .nicom .dicomwrappers as dw
4848
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+
4954lgr = logging .getLogger (__name__ )
5055total_files = 0
5156# 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 =
4242 ignore:.*pkg_resources:DeprecationWarning
4343 # <https://github.com/nipy/nipype/issues/3563>
4444 ignore:.*Use setlocale.* instead:DeprecationWarning:nipype
45+ # <https://github.com/nipy/nipype/pull/3670>
46+ ignore:.*datetime.datetime.utcnow\(\) is deprecated.*:DeprecationWarning:nipype
4547
4648[coverage:run]
4749include = heudiconv/*
You can’t perform that action at this time.
0 commit comments