Skip to content

Commit

Permalink
fix subj to template registration
Browse files Browse the repository at this point in the history
  • Loading branch information
amakropoulos committed Oct 26, 2020
1 parent ba09e72 commit 5f7942d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/misc/pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ for m in T1 T2;do
done


if [ ! -f dofs/template-$age-$subj-n.dof.gz ];then
run mirtk register $T2masked $TEMPLATE_T2/template-$age.nii.gz -dofout dofs/template-$age-$subj-n.dof.gz -parin $REGISTRATION_TEMPLATE_CONFIG -threads $threads -v 0
if [ ! -f dofs/$subj-template-$age-n.dof.gz ];then
run mirtk register $T2masked $TEMPLATE_T2/template-$age.nii.gz -dofout dofs/$subj-template-$age-n.dof.gz -parin $REGISTRATION_TEMPLATE_CONFIG -threads $threads -v 0
fi

if [ ! -f dofs/$subj-template-$age-r.dof.gz ];then
Expand Down

1 comment on commit 5f7942d

@schuhschuh
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Antonis, looks like the fix for this was simply to remove those three lines instead because the transformation is computed further below.

See also: BioMedIA#14

Please sign in to comment.