Skip to content
Snippets Groups Projects
Commit ac5d8ccd authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Related bugfix to dicom.loadSeries

parent 1a68c178
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,7 @@ def loadSeries(series): ...@@ -212,7 +212,7 @@ def loadSeries(series):
with open(os.devnull, 'wb') as devnull: with open(os.devnull, 'wb') as devnull:
sp.call(cmd.split(), stdout=devnull, stderr=devnull) sp.call(cmd.split(), stdout=devnull, stderr=devnull)
files = glob.glob(op.join(td, '{}.nii'.format(snum))) files = glob.glob(op.join(td, '{}*.nii'.format(snum)))
images = [nib.load(f) for f in files] images = [nib.load(f) for f in files]
# Force-load images into memory # Force-load images into memory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment