Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #321 from a3sha2/master
Browse files Browse the repository at this point in the history
alff with res4d from task
  • Loading branch information
a3sha2 committed Mar 21, 2020
2 parents 6d36d8f + ef060dd commit 2c47141
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 13 deletions.
4 changes: 2 additions & 2 deletions designs/anat_jlf_complete.dsn
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ gmd_cleanup[2]=1
###################################################################

jlf_extract[3]=1
jlf_keep_warps[3]=1
jlf_keep_warps[3]=0
jlf_quick[3]=0
jlf_cohort[3]=Younger24
jlf_ncpu[3]=2
jlf_parallel[3]=1
jlf_parallel[3]=sge
jlf_rerun[3]=0
jlf_cleanup[3]=1

Expand Down
9 changes: 8 additions & 1 deletion modules/alff/alff.mod
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,19 @@ smooth_spatial --SIGNPOST=${signpost} \
--INPUT=${uncensored[sub]} \
--USAN=${alff_usan[cxt]} \
--USPACE=${alff_usan_space[cxt]}
else
elif is_image ${denoised[sub]} ; then
smooth_spatial --SIGNPOST=${signpost} \
--FILTER=alff_sptf[cxt] \
--INPUT=${denoised[sub]} \
--USAN=${alff_usan[cxt]} \
--USPACE=${alff_usan_space[cxt]}
elif is_image ${res4d[sub]} ; then
smooth_spatial --SIGNPOST=${signpost} \
--FILTER=alff_sptf[cxt] \
--INPUT=${res4d[sub]} \
--USAN=${alff_usan[cxt]} \
--USPACE=${alff_usan_space[cxt]}

fi

routine_end
Expand Down
20 changes: 10 additions & 10 deletions modules/jlf/jlf.mod
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,16 @@ if ! is_image ${labels[cxt]} \
done

subroutine @1.5 Configuring parallelisation
case ${jlf_parallel[cxt]} in
sge)
define jlf_parallel 1
;;
pbs)
define jlf_parallel 4
;;
*)
define jlf_parallel 0
esac
#case ${jlf_parallel[cxt]} in
#sge)
#define jlf_parallel 1
#;;
#pbs)
# define jlf_parallel 4
#;;
#*)
# define jlf_parallel 0
#esac
echo ${img[sub]} 2
subroutine @1.6a Executing joint label fusion routine
subroutine @1.6b Delegating control to antsJointLabelFusion
Expand Down
4 changes: 4 additions & 0 deletions modules/task/task.mod
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,10 @@ if [[ -d ${featout} ]]
done
fi

res4d=$(ls -f ${featout}/stats/*res4d.nii.gz )

output res4d ${res4d}

# add post surface processing here if there is fmriprep

surf=$( ls -f $strucn/anat/*hemi-L_inflated.surf.gii 2>/dev/null )
Expand Down

0 comments on commit 2c47141

Please sign in to comment.