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

Commit

Permalink
Update task.mod
Browse files Browse the repository at this point in the history
#125 #245

multisession for task module
  • Loading branch information
a3sha2 committed Oct 20, 2019
1 parent dd2b4bb commit dec95af
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/task/task.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ mod_name_short=task
mod_name='TASK-CONSTRAINED ACTIVATION MODULE'
mod_head=${XCPEDIR}/core/CONSOLE_MODULE_RC

###################################################################
#######################
############################################
# GENERAL MODULE HEADER
###################################################################
source ${XCPEDIR}/core/constants
Expand Down Expand Up @@ -211,9 +212,11 @@ if (( ${task_fmriprep[cxt]} == 1 ))
refpart="_boldref.nii.gz"; refvol=${imgprt2}${refpart}



strucn="${img1[sub]%/*/*}";
if [[ -d ${strucn}/anat/ ]]; then
strucfile=$(ls -f ${strucn}/anat/*h5 2>/dev/null)
strucfile1=$(echo $strucfile | cut --delimiter " " --fields 1)

if [[ -f ${strucfile1} ]]; then
strucn=${strucn}
else

Expand Down

0 comments on commit dec95af

Please sign in to comment.