Neurodesign error - circularity + website does not work

Hi all,

Has anyone used neurodesign to optimize fMRI designs? NeuroPower | NeuroPowerTools

-The optimization does not run in the website (GUI option), and sadly when I run the python generated script locally (eg at anaconda spyder) I get the following error:

cannot import name ‘design’ from partially initialized module ‘neurodesign’ (most likely due to a circular import) (C:\Users\takishl\anaconda3\lib\site-packages\neurodesign_init_.py)

-If I comment out the __init_py file to solve the problem, as suggested here: Neurodesign (Python), then I still get a different error:

ImportError: cannot import name ‘experiment’ from ‘neurodesign’ (C:\Users\takishl\anaconda3\lib\site-packages\neurodesign_init_.py)
:confused:


Any idea/help how to solve this? :slight_smile:

thank you very much!

I did manage to get a version of it running in python - I’ll have to check in more detail, but I remember using this “fork” of the project:

maybe give it a try?