Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'neurodesign' has no attribute 'experiment' #22

Open
AlexStuffs opened this issue Jul 3, 2024 · 1 comment
Open

Comments

@AlexStuffs
Copy link

Hi,

I don't know if the package is still maintained.
I tried to install the package on python and followed a tuto (https://lukas-snoek.com/NI-edu/fMRI-introduction/week_3/neurodesign.html) but I get the following error:
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'neurodesign' has no attribute 'experiment'

Any idea?

@Remi-Gau Remi-Gau mentioned this issue Aug 18, 2024
@Remi-Gau
Copy link
Contributor

hey

not sure if the package is really still maintained but had a quick look

there were a couple of typos in the original example when compared to the code currently in this repo

it should be neurodesign.Experiment and neurodesign.Optimisation where Experiment and Optimisation are in CamelCase since they are classes

I added the code from the tuto you linked in the repo https://github.com/neuropower/neurodesign/blob/master/examples/tutorial.py and made sure it would be regularly run.

There has not been a release on pypi for a while so you may have to install the code from the github source

pip install git+https://github.com/neuropower/neurodesign.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants