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  

|
August 20, 2017 11:42AM
After a system update, "afni_proc.py" would not run after the "-execute" flag. It would immediately end after generating the TCSH script. After troubleshooting, I found the problem was in setting the zero-padded list of runs .For example, if I have a subject with one run, the line in the TCSH script would be:
set runs = (`count -digits 2 1 1`)
Running "count -digits 2 1 1" yields:
usage: count <expected line count>

Performing "afni_system_check.py -check_all" suggests that everything is set up fine. And, everything works fine after adjusting the TCSH script or "afni_proc.py" (lines 2236 and 2237) so that the number of runs is hard-coded by writing
set runs = ( 01 )
in the TCSH script, instead of referencing the count function.

It seems that the "count" program is not working my system, as it did previously, after recent system updates. Options listed at [bit.ly], outside of zero-padding with "-digits", also all fail to work.



EDIT: The function works perfectly fine when I call "~/abin/count" (i.e. reference the path where the function count is stored). So the issue is not with the function, but rather that the updated system is not referencing the AFNI function count, but another function with the same name. So, I will figure that out. Thank you.


Best,
Chintan



Edited 1 time(s). Last edit at 08/20/2017 11:50AM by cmehta.
Subject Author Posted

Troubleshooting for AFNI function "count" after system update

cmehta August 20, 2017 11:42AM

Re: Troubleshooting for AFNI function "count" after system update

rick reynolds August 20, 2017 03:02PM

Re: Troubleshooting for AFNI function "count" after system update

Bob Cox August 21, 2017 11:57AM

Re: Troubleshooting for AFNI function "count" after system update

nick August 22, 2017 10:32AM