josephdviviano / epitome

scriptit modules for fmri analysis
Other
9 stars 6 forks source link

Bug fix: interp falling back to drop caused np.reshape to fail #56

Closed DESm1th closed 7 years ago

DESm1th commented 7 years ago

drop was returning a tuple and dim[3] wasn't being updated so some subjects were failing with an exception from numpy that an array of size '2' couldn't be reshaped to the original dimensions. I modified interp to always return the number of trs to fix this.

josephdviviano commented 7 years ago

Thank you Dawn!