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

dwi key is not defined for group report generation #1173

Closed
celprov opened this issue Jan 15, 2024 · 2 comments · Fixed by #1174
Closed

dwi key is not defined for group report generation #1173

celprov opened this issue Jan 15, 2024 · 2 comments · Fixed by #1174
Labels

Comments

@celprov
Copy link
Collaborator

celprov commented Jan 15, 2024

What happened?

The dwi key is not defined in the QCGROUPS dictionary in mriqc/reports/groups.py l.46

What command did you use?

mriqc /data/datasets/hcph /data/derivatives/hcph-derivatives/mriqc_23.2.0/ --verbose-report group -vv

What version of the software are you running?

23.2.0

How are you running this software?

Local installation ("bare-metal")

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

Traceback (most recent call last):
  File "/home/cprovins/.local/bin/mriqc", line 8, in <module>
    sys.exit(main())
  File "/home/cprovins/code/mriqc/mriqc/cli/run.py", line 217, in main
    group_html(
  File "/home/cprovins/code/mriqc/mriqc/reports/group.py", line 238, in gen_html
    for group, units in QCGROUPS[mod]:
KeyError: 'dwi'

Additional information / screenshots

No response

@celprov celprov added the bug label Jan 15, 2024
@celprov celprov changed the title dwi key is missing for group report generation dwi key is not defined for group report generation Jan 15, 2024
@boifat
Copy link

boifat commented Jan 19, 2024

I literally had the same issue. I am using dcm2bids to convert all my data into BIDS format. All my datasets are T1w. I ran the MRIQC on participant level without problem, but when I try to do group I ran into the same error of :"dwi"

@vferat
Copy link

vferat commented Jan 23, 2024

A quick work around that seems to work while waiting for a FIX is to set --modalities T1w T2w bold

@oesteban oesteban linked a pull request Mar 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants