Skip to content

Commit

Permalink
in matlab call, removed the changedir and instead use addpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngoyal95 committed Apr 27, 2021
1 parent 7435b50 commit c707c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_prep/prep_stage_4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "cd $SUPPORT_SCRIPTS/stage_4/ abcd_netmats('$STAGE_4_OUT/$NUMSUBS', '$GICA', '$DR', '$ABCD_CCA_REPLICATION', '$NUMSUBS')"
matlab -nodisplay -nodesktop -nojvm -r "addpath('$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"
Expand Down

0 comments on commit c707c1c

Please sign in to comment.