From df78c8f3536b2b4b7d24c0783c2c6207b4b2845e Mon Sep 17 00:00:00 2001 From: ngoyal95 Date: Wed, 14 Apr 2021 07:37:50 -0400 Subject: [PATCH] fixed syntax error on line34. Script functions properly now.: --- data_prep/support_scripts/stage_3/run_melodic.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data_prep/support_scripts/stage_3/run_melodic.sh b/data_prep/support_scripts/stage_3/run_melodic.sh index 2602b05..e38a6ce 100755 --- a/data_prep/support_scripts/stage_3/run_melodic.sh +++ b/data_prep/support_scripts/stage_3/run_melodic.sh @@ -31,7 +31,7 @@ else fi # Get final paths to the NIFTI inputs -find $STAGE_3_OUT/NIFTI/ -type f -name "*.nii.gz" | sort | >> $STAGE_3_OUT/paths_to_NIFTI_files.txt +find $STAGE_3_OUT/NIFTI/ -type f -name "*.nii.gz" | sort >> $STAGE_3_OUT/paths_to_NIFTI_files.txt echo "run_melodic.sh - Running MELODIC" echo "WARNING: This script was designed to be run the NIH Biowulf, and may not work on other systems." @@ -41,6 +41,3 @@ echo "WARNING: This script was designed to be run the NIH Biowulf, and may not w # The variable $GICA points to the melodic output folder (inside data_prep/). melodic -i $STAGE_3_OUT/paths_to_NIFTI_files.txt -o $GICA -m /usr/local/apps/fsl/6.0.1/data/standard/MNI152_T1_2mm_brain_mask_dil1.nii.gz --nobet -a concat --tr=$TR_INTERVAL --Oall -d 200 - - -