Indeed, when I was feeding the output of a python script within a bash loop, the --participant-label argument was picking several identifiers as a single input:
IFS=$'\n'; for i in $( python groups.py ); do mriqc /data/datasets/ds002790/ /data/derivatives/ds002790/mriqc-22.0.5 participant -m T1w --participant-label $i --nprocs 32 --omp-nthreads 16 --verbose-reports -w work --dsname AOMIC2 -vv --bids-database-dir /data/derivatives/ds002790/.bids/; done
Indeed, when I was feeding the output of a python script within a bash loop, the
--participant-label
argument was picking several identifiers as a single input:The output of
python groups.py
is of this sort:The idea is to run four subjects within each loop.
This bugfix is a more robust solution.
Revises: #1025.
/cc @mgxd @effigies