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

BF: Not passing pyfeeds object to loadImage

parent 80c380c8
No related branches found
No related tags found
1 merge request!41BF,RF: Fix a few bugs, adjust `evalHeader` routine
......@@ -429,8 +429,8 @@ def evalHeader(testfile, benchmark, ndims=None, pyf=None):
Returns 0 if they all match, 1 otherwise.
"""
img1 = loadImage(testfile)[0]
img2 = loadImage(benchmark)[0]
img1 = loadImage(pyf, testfile)[0]
img2 = loadImage(pyf, benchmark)[0]
hdr1 = img1.header
hdr2 = img2.header
fields = ['dim', 'pixdim', 'intent_code',
......
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