Skip to content

Commit da4ef9e

Browse files
authored
Merge pull request #1295 from nipreps/fix/1290-1282-multiecho-list-bugs-revisit
FIX: Multiecho fMRI crashing with 'unhashable type' errors
2 parents 4d92bfe + 5903b80 commit da4ef9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mriqc/workflows/functional/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def fmri_qc_workflow(name='funcMRIQC'):
7474

7575
from mriqc.interfaces.functional import SelectEcho
7676
from mriqc.messages import BUILDING_WORKFLOW
77+
from mriqc.utils.misc import _flatten_list as flatten
7778

7879
workflow = pe.Workflow(name=name)
7980

@@ -116,7 +117,7 @@ def fmri_qc_workflow(name='funcMRIQC'):
116117
)
117118
config.loggers.workflow.info(message)
118119

119-
if set(dataset) - set(full_files):
120+
if set(flatten(dataset)) - set(flatten(full_files)):
120121
config.workflow.inputs['bold'] = full_files
121122
config.to_filename()
122123

0 commit comments

Comments
 (0)