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

BF:: copy+paste typo

parent 42192593
No related branches found
No related tags found
1 merge request!41BF,RF: Fix a few bugs, adjust `evalHeader` routine
...@@ -413,8 +413,8 @@ def loadImage(pyf, filename): ...@@ -413,8 +413,8 @@ def loadImage(pyf, filename):
return pyf.imageCache[filename] return pyf.imageCache[filename]
else: else:
img = nib.load(filename) img = nib.load(filename)
if isinstance(image, nib.Nifti1Image): if isinstance(img, nib.Nifti1Image):
data = np.asanyarray(image.dataobj) data = np.asanyarray(img.dataobj)
else: else:
data = None data = None
return img, data return img, data
......
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