1
0
Fork 0
id1000-cat12.8.1/code/doCSV+QC_runs.sh

21 lines
407 B
Bash
Executable file

#!/bin/bash
#
# create CVS for atlases included in CAT peprocessing and get QC
mkdir outputs
DS=$(basename $PWD)
datalad get sub*/report/cat_*.xml sub*/label/cat*.xml
for sub in sub*; do
./code/xml2csv_run-1.py outputs/${DS}_run-1 ${sub}
done
for sub in sub*; do
./code/xml2csv_run-2.py outputs/${DS}_run-2 ${sub}
done
for sub in sub*; do
./code/xml2csv_run-3.py outputs/${DS}_run-3 ${sub}
done