nipy / mindboggle

Automated anatomical brain label/shape analysis software (+ website)
http://mindboggle.info
Other
143 stars 54 forks source link

Zernike moments ImportError: cannot import name 'factorial' #172

Closed binarybottle closed 5 years ago

binarybottle commented 5 years ago

Calculating Zernike moments now gives the error:

from scipy.misc import (factorial, ImportError: cannot import name 'factorial'

I am replacing "scipy.misc" with "scipy.special" for scipy.misc.factorial and scipy.misc.comb...

binarybottle commented 5 years ago

Importing scipy.special fixed the issue.