diff --git a/fsl/data/dicom.py b/fsl/data/dicom.py index 9abee46b91d285e0f9a0445d9472832ff3f792fe..8c8b8a7e73cd5f9e1375409edd04835f21b69a95 100644 --- a/fsl/data/dicom.py +++ b/fsl/data/dicom.py @@ -212,7 +212,7 @@ def loadSeries(series): with open(os.devnull, 'wb') as 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] # Force-load images into memory