netneurolab / neuromaps

A toolbox for comparing brain maps
https://netneurolab.github.io/neuromaps
Other
246 stars 55 forks source link

Error when using null models; brainsmash not installed #178

Closed silkeboulanger closed 3 weeks ago

silkeboulanger commented 4 weeks ago

Hello When trying to use the volumetric null models, a certain issue keeps arising. For example, when executing the following line:

nulls = nulls.burt2020(neurosynth_mni152, atlas='MNI152', density='2mm',
                       n_perm=100, seed=1234)

The error 'brainsmash not installed' keeps happening, even after installing brainsmash. The same happens for the 'moran' method, it gives the error: 'brainspace not installed', even after installing and importing.

I can import brainsmash/brainspace without errors, but when using the nulls package, the error remains.

Thank you and kind regards, Silke