Skip to content

Commit

Permalink
Merge pull request #1636 from ANTsX/ants_template_fn_unique
Browse files Browse the repository at this point in the history
ENH: Better to use actual index into imageset array
  • Loading branch information
cookpa authored Dec 14, 2023
2 parents 659d516 + 8667c69 commit 3159750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scripts/antsMultivariateTemplateConstruction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ while [[ $i -lt ${ITERATIONLIMIT} ]];
POO=${OUTPUTNAME}template${k}${IMGbase}
OUTFN=${POO%.*.*}
OUTFN=`basename ${OUTFN}`
OUTFN="${OUTFN}${j}"
OUTFN="${OUTFN}${l}"
DEFORMED="${outdir}/${OUTFN}${l}WarpedToTemplate.nii.gz"

IMGbase=`basename ${IMAGESETARRAY[$j]}`
Expand Down
2 changes: 1 addition & 1 deletion Scripts/antsMultivariateTemplateConstruction2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ while [[ $i -lt ${ITERATIONLIMIT} ]];
IMGbase=`basename ${IMAGESETARRAY[$l]}`
OUTFN=${OUTPUTNAME}template${k}${IMGbase/%?(.nii.gz|.nii)}
OUTFN=`basename ${OUTFN}`
OUTFN="${OUTFN}${j}"
OUTFN="${OUTFN}${l}"
DEFORMED="${outdir}/${OUTFN}${l}WarpedToTemplate.nii.gz"

IMGbase=`basename ${IMAGESETARRAY[$j]}`
Expand Down

0 comments on commit 3159750

Please sign in to comment.