I created a proc.subj script using afni_proc.py and did not see any errors during the creation of the script. However, when trying to run the script, I run into problems during the transformation. It seems like it is not recognizing base.nii but I cannot understand why not. Does the following give you any ideas why not?
I have tried including “unsetenv AFNI_COMPRESSOR” at the start of the proc.SUBJ script but it hasn’t prevented the files to be compressed as .gz. Is there another way to unset the AFNI_COMPRESSOR variable?
Check your ~/.cshrc file, and if you have one, ~/.afnirc.
If you are using bash, check those start-up files.
Note that even if you unset that variable in the script,
the script will start sub-shells. So if those apply it, or
if it is in your .afnirc file, it will still be used.
The default shell is bash but I run the proc.SUBJ script using the suggested tcsh proc.SUBJ -xef
I may have to contact the root user to change the local environment. Thanks for helping me get to the bottom of this.
Now, most of my files are saving uncompressed as .BRIK files. However, at the @auto_tlrc stage, it is still saving as .nii.gz and failing to find base.nii since only base.nii.gz exists.
Are you at the NIH? If so, maybe I could look
more closely at your setup?
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.