diff --git a/data_prep/prep_stage_4.sh b/data_prep/prep_stage_4.sh index 37cd7e1..9832325 100755 --- a/data_prep/prep_stage_4.sh +++ b/data_prep/prep_stage_4.sh @@ -45,7 +45,7 @@ echo "Generating subject-level connectomes using FSLNets. This may take a while # echo "stage_4_out=$STAGE_4_OUT/$NUMSUBS/" # echo "gica_path=$GICA" # echo "dr_path=$DR" -matlab -nodisplay -nodesktop -nojvm -r "addpath('$SUPPORT_SCRIPTS/stage_4');abcd_netmats('$STAGE_4_OUT/$NUMSUBS', '$GICA', '$DR', '$ABCD_CCA_REPLICATION', '$NUMSUBS')" +matlab -nodisplay -nodesktop -nojvm -r "cd '$SUPPORT_SCRIPTS/stage_4';abcd_netmats('$STAGE_4_OUT/$NUMSUBS', '$GICA', '$DR', '$ABCD_CCA_REPLICATION', '$NUMSUBS')" # stage_4_out="$STAGE_4_OUT/$NUMSUBS/";gica_path="$GICA";dr_path="$DR";abcd_cca_dir="$ABCD_CCA_REPLICATION";n_subs_in="$NUMSUBS";run $SUPPORT_SCRIPTS/stage_4/abcd_netmats.m"