-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img.sum() #13
Comments
Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood). Hi Alan, you have given infiles.img a list of filenames, and this means that the resulting img field on the inputs object inside your function will itself be a list of numpy arrays, one from each file in the same order. The list datatype does not support a .sum() method. In addition, you have used the setReferenceImage() method, giving in infiles.image1, which does not exist. You probably meant to do this:
|
Original report by alan piszcz (Bitbucket: apiszcz, GitHub: apiszcz).
The documentation example shows inputs.img.sum(), when I try this I am getting an error.
The applier example does not show how 'inputs' is set.
I tried a list of file names, which does support the method sum.
Not sure what I'm doing wrong here.
The text was updated successfully, but these errors were encountered: