hello @Steven unfortunately that’s not working. I’ve run it a few ways now to try to zero in on the issue and here are some more details.
before all this i ran dcm2bids_3.2.0 to get the data into BIDS format and didn’t see any errors during that process. however if i remove “–skip_bids_validation” from my command it breaks with
*1: [ERR] Files with such naming scheme are not part of BIDS specification....*
and
*2: [ERR] Subject label in the filename doesn't match with the path of the file....*
otherwise, this finishes successfully:
./qsiprep_0.22.0.sif motsf005 /wynton/protected/home/rad-wynton-only/storrisi participant \
--fs-license-file /wynton/protected/home/rad-wynton-only/storrisi/license.txt \
--output-resolution 1.7 \
--work-dir ${WORK_DIR} \
--participant_label ${subjectID} \
--distortion-group-merge none \
--skip_bids_validation \
--nthreads 4 \
--omp-nthreads 4 \
--stop-on-first-crash \
-v -v
so i think the BIDS validating thing is orthogonal to my main point but let me know if i have to go back and change that.
as for the current topic (HCP-style DWI processing with reverse PE), you can see here i have distortion-group-merge “none”, which works. but if i specify either “average” or “concat” it breaks. here’s some output error after having specified “average”, although i think it’s the same error for either:
241028-14:55:07,672 nipype.workflow IMPORTANT:
Building QSIPrep's workflow:
* BIDS dataset path: /path/storrisi/motsf005.
* Participant list: ['005'].
* Run identifier: 20241028-145425_7e884e66-f9eb-4adb-a28d-90547f8bc132.
241028-14:55:07,769 nipype.workflow INFO:
Running nonlinear normalization to template
241028-14:55:07,798 nipype.workflow INFO:
Combining all 2 dwis within the single available session
241028-14:55:07,827 nipype.workflow INFO:
[{'dwi_series': ['/path/storrisi/motsf005/sub-005/dwi/sub-005_dir-PA_dwi.nii.gz'], 'dwi_series_pedir': 'j', 'fieldmap_info': {'suffix': 'rpe_series', 'rpe_series': ['/path/storrisi/motsf005/sub-005/dwi/sub-005_dir-AP_dwi.nii.gz']}, 'concatenated_bids_name': 'sub-005'}]
Process Process-2:
Traceback (most recent call last):
File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/opt/conda/envs/qsiprep/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/cli/workflow.py", line 160, in build_workflow
retval["workflow"] = workflow_builder()
File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/base.py", line 82, in init_qsiprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
File "/opt/conda/envs/qsiprep/lib/python3.10/site-packages/qsiprep/workflows/base.py", line 295, in init_single_subject_wf
merging_group_workflows[merged_group] = init_distortion_group_merge_wf(
TypeError: init_distortion_group_merge_wf() got an unexpected keyword argument 'template'
full disclosure i thought i was running QSIprep 0.22 but it technically says
Running QSIPrep version 0.22.1.dev0+gd9279db.d20240719
not sure if that’s relevant. and thanks again
-s