Hello Rick,
Thanks for the response!
So, the difference between the max motion displacement and the max censored displacement is that censored is just looks at the TRs that were removed?
I'm trying to make a gen_ss_review_table.py script, but I'm a little confused. I looked at the link you provided, but not really sure how to make the script so that it goes into each subject's folder.
I created a script and wrote the following:
set subj = subj
set sdir = /name1/projects/name2/name3/name4/$subj/Afni/${subj}_results
gen_ss_review_table.py -write_table review_table.xls \
-infiles $sdir/out.ss_review.${subj}.txt
**The output said: Input file not found /name1/projects/name2/name3/name4/$subj/Afni/${subj}_results/out.ss_review.subj.txt
Not really sure why the ${subj} didn't work. I even tried it as {$subj} and that didn't work either. Same output.
I also tried:
set subj = subj
set sdir = /name1/projects/name2/name3/name4/$subj/Afni/${subj}_results
gen_ss_review_table.py -write_table review_table.xls \
-infiles $sdir/out.ss*.txt
**The output said: gen_ss_review_table.py: No match.
That means the * definitely does not work.
I'm trying to first get the table so that I can see everyone. Then I was going to add the rest of the script to remove those with numbers that exceed the following:
gen_ss_review_table.py -outlier_sep space \
-report_outliers 'censor fraction' GE 0.15 \
-report_outliers 'average censored motion' GE 0.1 \
-report_outliers 'max censored displacement' GE 8 \
-infiles $sdir/out.ss*.txt
Am I doing this wrong? Any suggestions on how to fix the script with the subj?
Best,
Rebecca