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 09, 2012 09:37PM
Hi Nicole,

Actually, just your script calling afni_proc.py is enough. You
just have a few scripting problems in there. The errors have
nothing to do with afni_proc.py.

1. The -copy_anat line has a comment at the end of it.
That is not legal because you are trying to use the '\' line
continuation character. The result of this should be a
'-do_block: Command not found' error.

2. If you want to embed comments in the middle of a single
command with line extenders, then the comments must also
have line continuations at the end. So this will give you a
few more "Command not found' errors.

3. There is a blank line between the last -gltsym and -jobs.
Either delete the blank line or put a line continuation there.
This should result in a '-jobs: Command not found' error.

If any of this is not clear, please let me know.

One thing I suggest when scripting like this, is to test your
script by putting 'echo' before the main command. Then
just see if it looks like you expect it to. So here, the command
would be:

echo afni_proc.py -subj_id ...

Once it looks good, remove the 'echo'.

- rick
Subject Author Posted

afni proc.py problem

Nicole October 08, 2012 03:19PM

Re: afni proc.py problem

rick reynolds October 08, 2012 09:53PM

Re: afni proc.py problem

rick reynolds October 09, 2012 09:37PM