Greetings,
I'm new to AFNI and Linux and would appreciate any help. I am interested in using align_epi_anat.py and ran the following example code (following the example in -help):
The code:
$ python align_epi_anat.py -anat ~/AFNI_data4/sb23/sb23_mpra+orig -epi ~/AFNI_data4/sb23/epi_r03+orig -epi_base 5
The result:
#++ align_epi_anat version: 1.06
#Script is running:
3dAttribute DELTA /home/xl/AFNI_data4/sb23/epi_r03+orig
#++ Spacing for EPI to tlrc alignment is 3.500000
#Script is running:
3dAttribute DELTA /home/xl/AFNI_data4/sb23/sb23_mpra+orig
#++ Spacing for anat to EPI deobliquing is 0.937500 mm
#++ Removing all the temporary files
#Script is running:
rm -f __tt_epi_r03*
Traceback (most recent call last):
File "align_epi_anat.py", line 1701, in <module>
ps.cleanup()
File "align_epi_anat.py", line 644, in cleanup
self.fresh_start(e.prefix, a.prefix, rmold = rmold)
File "align_epi_anat.py", line 1636, in fresh_start
com.run()
File "/home/xl/abin/afni_base.py", line 315, in run
self.status, self.so, self.se = shell_exec2(self.trimcom, self.capture)
File "/home/xl/abin/afni_base.py", line 701, in shell_exec2
pipe = SP.Popen(s,shell=True, executable='/bin/tcsh', stdout=None, stderr=None, close_fds=True)
File "/usr/lib64/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/usr/lib64/python2.5/subprocess.py", line 1079, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
It appears that some file/directory is required but missing?
Thanks.