mwaskom/moss

mosaic issue

iancballard opened this issue · 5 comments

I am getting an "ValueError: operands could not be broadcast together with shapes (64,64,30) (64,30,64) " error when using Mosaic:

m = Mosaic(orig,mask,mask, step = 1)

What's strange is that

print nib.load(orig).shape
print nib.load(mask).shape

returns (64,64,30) for both.

And

m = Mosaic(orig,mask, step = 1)

works fine.

This issue is coming up in the report for the functional mask step of the lyman preproc workflow.

what version nibabel?

2.0.2

strange indeed!

Do you still have this issue?