Skip to content

Commit

Permalink
Final bugs squashed.
Browse files Browse the repository at this point in the history
Tested and working
  • Loading branch information
thomshaw92 committed Jul 15, 2020
1 parent 839baa2 commit d01b387
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LASHiS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -639,15 +639,14 @@ fi

#apply the warp from the template to the original images (both T1w and T2w) - with themselves as the reference
SUBJECT_COUNT=0
WARP_COUNT=0
for (( i=0; i < ${#ANATOMICAL_IMAGES[@]}; i+=$NUMBER_OF_MODALITIES ))
do
BASENAME_ID=`basename ${ANATOMICAL_IMAGES[$i]}`
BASENAME_ID=${BASENAME_ID/\.nii\.gz/}
BASENAME_ID=${BASENAME_ID/\.nii/}

OUTPUT_DIRECTORY_FOR_SINGLE_SUBJECT_ASHS=${OUTPUT_DIR}/${BASENAME_ID}
OUTPUT_DIRECTORY_FOR_SINGLE_SUBJECT_ASHS=${OUTPUT_DIRECTORY_FOR_SINGLE_SUBJECT_ASHS}_${SUBJECT_COUNT}
WARP_COUNT=0
let SUBJECT_COUNT=${SUBJECT_COUNT}+1
SUBJECT_T1_IMAGE=${ANATOMICAL_IMAGES[$i]}
let k=$i+$NUMBER_OF_MODALITIES
Expand Down

0 comments on commit d01b387

Please sign in to comment.