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

CLI run requires mriqc to be installed #468

Open
miltoncamacho opened this issue Oct 30, 2024 · 3 comments
Open

CLI run requires mriqc to be installed #468

miltoncamacho opened this issue Oct 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@miltoncamacho
Copy link

What happened?

When running sdcflows CLI command, I get an error No module named 'mriqc'.

If I run the container interactively and install the mriqc using pip install mriqc the issue is resolved. I am sure there is an excellent reason why mriqc is necessary, so perhaps this needs to be added to the requirements.txt

What command did you use?

sdcflows /bids-input /bids-output participant --debug

What version of the software are you running?

2.10.0

How are you running this software?

Docker

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

(sdcflows) root@91f133b4405b:/tmp# sdcflows /bids-input /bids-output participant --debug
241030-17:10:41,542 cli IMPORTANT:
	 Running SDCFlows 2.10.0:
             * BIDS dataset path: /bids-input.
             * Output folder: /bids-output.
             * Analysis levels: ['participant'].

Traceback (most recent call last):
  File "/opt/conda/envs/sdcflows/bin/sdcflows", line 8, in <module>
    sys.exit(main())
  File "/opt/conda/envs/sdcflows/lib/python3.10/site-packages/sdcflows/cli/main.py", line 178, in main
    "plugin": MultiProcPlugin(
  File "/opt/conda/envs/sdcflows/lib/python3.10/site-packages/niworkflows/engine/plugin.py", line 416, in __init__
    from mriqc import config
ModuleNotFoundError: No module named 'mriqc'

Additional information / screenshots

No response

@miltoncamacho miltoncamacho added the bug Something isn't working label Oct 30, 2024
@effigies
Copy link
Member

Can you upgrade niworkflows?

@effigies
Copy link
Member

Sorry, just to be more explicit, this bug was fixed in nipreps/niworkflows#876 and released in niworkflows 1.11.0.

@miltoncamacho
Copy link
Author

Thanks

see #469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants