AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
October 22, 2020 06:23PM
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
Subject Author Posted

Max Motion Displacement Question

Carvalho October 19, 2020 04:23PM

Re: Max Motion Displacement Question

rick reynolds October 22, 2020 02:12PM

Re: Max Motion Displacement Question

Carvalho October 22, 2020 06:23PM

Re: Max Motion Displacement Question

rick reynolds October 23, 2020 03:47PM