We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef877f commit 9409ce5Copy full SHA for 9409ce5
docs/usage.rst
@@ -56,7 +56,7 @@ The first script aggregates the DICOM directories and submits them to
56
DCMDIRS=(`find ${DCMROOT} -maxdepth 1 -name voice* -type d`)
57
58
# submit to another script as a job array on SLURM
59
- sbatch --array=0-$len run_heudiconv.sh ${OUTPUT} ${DCMDIRS[@]}
+ sbatch --array=0-`expr ${#DCMDIRS[@]} - 1` run_heudiconv.sh ${OUTPUT} ${DCMDIRS[@]}
60
61
62
The second script processes a DICOM directory with ``heudiconv`` using the built-in
0 commit comments