Hi,
We are trying to run this code through a pipeline and we cannot figure out why it isn't working in the updated versions of AFNI. It doesn't seem to like the -gltsym portion of the script and says it doesn't recognize the -gltsym portion. However, this ONLY happens in AFNI 23-25 and not on our AFNI 22 (AFNI_22.2.06 (Aug 18 2022) [64-bit] to be specific) What are we doing wrong?
We have been trying to figure this out for over a week with 3 people looking at things. I am happy to send the full script if it's not immediately obvious why this isn't working.
You've got redirection symbols in the GLT labels, and they are not protected by quotes. I suggest avoiding the '>' symbol, as well as spaces. Consider something like:
We tried to modify the labels but it still is output this error...
** ERROR: 3dDeconvolve dies: Unrecognized command line option: '+exclConsec'
Here's hoping these excerpts from '/root/abin/3dDeconvolve -help' enlighten:
'expression must be enclosed in one set of'
'response models, there are n-2 parameters'
'response amplitude, the 'Rmodel' must be one of the 'dm''
That's interesting. I don't see any bad characters or spaces after the end-of-line \. I could essentially run that command on my computer (using different files, modified from Bootcamp data).
Could you please copy+paste the full terminal text output of the command? That might help shed some light.
And just to check, you are running this in a bash shell (which I am guessing because an array variable is indexed with [0])?
Yeah, we are running this in bash. I'll pull the full script sent to AFNI this afternoon and send. We can't figure out why it keeps failing as we've referenced all the AFNI related documentation.
It would be good to see the new error messages, too.
Like for Paul, your script works for me.
-rick
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.