Hi. I hope everyone is doing well. I’m sure I’m missing something simple, but after reading the relevant sections of the afni_proc.py help information and several tests, any help would be appreciated. After copying
AFNI programs generally look in the AFNI binary directory (~/abin or /misc/prog/bin in your case) for atlases and templates, but you can put these datasets elsewhere if you want. Copying the dataset to your starting directory works for @auto_tlrc because that program does all its processing there in the same directory. afni_proc.py, on the other hand, creates a new directory and does its processing there. You could specify the full path to the base template to work around this difference as in “-tlrc_base /misc/prog/afni/current.x86_64/TT_N27+tlrc”. Alternatively, set an AFNI environment variable to tell AFNI where to look for extra datasets -
Consider setting one of these in your .afnirc file in your home directory. The program, @FindAfniDsetPath can be used to check your settings. That program uses the same environment variables.
Another option would be to use -copy_files with the template, but that would duplicate the template in every subject directory (which we keep thinking about doing anyway).
EDIT: To summarize, there should be 3 (+1) ways to do it:
Put it in an expected location, as Daniel references.
Pass it with -copy_files.
Use a full path to the file.
(4. Pester Rick into making it work as is.)
rick
1 Like
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.