From 05a9980f432126a9eba60902b3eac8c7181c8458 Mon Sep 17 00:00:00 2001 From: rhancockn Date: Thu, 20 Feb 2020 12:36:41 -0500 Subject: [PATCH] Fix typo in step1b/reorganize script. --- README.md | 4 ++++ bids/code/reorganize.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 214771c..05c9cd6 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ Due Feb 23. +# Changes + +- 2/20 12:30: Fix typo in step1b/reorganize script. + # Data Description The raw DICOM data is located in `/scratch/psyc5171/exercises/bidshw` for a single subject, `TD902TD` (note you will need to copy and rename this folder). diff --git a/bids/code/reorganize.sh b/bids/code/reorganize.sh index dcab1c9..f2d0a1d 100755 --- a/bids/code/reorganize.sh +++ b/bids/code/reorganize.sh @@ -6,5 +6,5 @@ for SUBJECT_DIR in `ls -d /data/raw/sub-*`; do dicomsort.py -r -e .dcm $d done mv ${SUBJECT_DIR}/*/* ${SUBJECT_DIR} - m -rf ${SUBJECT_DIR}/[1-9]* + rm -rf ${SUBJECT_DIR}/[1-9]* done