Commit 8be5b471 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro
Browse files

Update bb_prepare_rfMRI

parent b9345545
...@@ -6,6 +6,7 @@ nameDir="$PWD/$1" ...@@ -6,6 +6,7 @@ nameDir="$PWD/$1"
coeff="$2" coeff="$2"
cp $BB_BIN_DIR/bb_data/design_ICA_nonSmoothed.fsf $1/fMRI/rfMRI.fsf cp $BB_BIN_DIR/bb_data/design_ICA_nonSmoothed.fsf $1/fMRI/rfMRI.fsf
chmod 755 $1/fMRI/rfMRI.fsf
for elem in `cat $1/fMRI/rfMRI.fsf | grep -oP '_--_\K.*?(?=_-_)' | sort | uniq` ; do for elem in `cat $1/fMRI/rfMRI.fsf | grep -oP '_--_\K.*?(?=_-_)' | sort | uniq` ; do
val=`echo ${!elem} | sed 's|/|\\\/|g'` val=`echo ${!elem} | sed 's|/|\\\/|g'`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment