Closed yukaizou2015 closed 2 years ago
Some thoughts for implementations:
# https://unix.stackexchange.com/questions/432352/list-of-arguments-in-only-one-variable-in-bash
arg=()
if [ ! -f $subfields]
then
args+=(-hippocampal-subfields-T1)
echo recon-all $args
else
echo recon-all
fi
A different script segmentHA_T1.sh
needs to be called, rather than expanding recon-all
.
ERROR: the hippocampal subfield module is now in separate scripts:
# segmentHA_T1.sh
# segmentHA_T1.sh SUBJECT_ID [SUBJECT_DIR]
# (the argument [SUBJECT_DIR] is only necessary if the
# environment variable SUBJECTS_DIR has not been set
# or if you want to override it)
# segmentHA_T1.sh sub-$sID $datadir
To add an option
-hippocampal-subfields-T1
to run automated segmentation of hippocampus in subfields when calledNeed to install Matlab Runtime (#17) to enable running this module.