Just switched to a computer with a newer build of AFNI. When I call align_epi_anat.py, it now aborts with the following error:
Traceback (most recent call last):
File "/opt/abin/align_epi_anat.py", line 3131, in <module>
ps.align_anat2epi(e, a, ps.epi_wt, ps.AlOpt, suff, mcost)
File "/opt/abin/align_epi_anat.py", line 1969, in align_anat2epi
(child_anat.p(),child_anat.out_prefix(),suf,child_anat.view))
TypeError: not all arguments converted during string formatting
When I looked at lines 1968-1969 of align_epi_anat.py:
child_anat_out=afni_name("%s%s%s" % \
(child_anat.p(),child_anat.out_prefix(),suf,child_anat.view))
I see that it's trying to plug four arguments into three %s slots, understandably leading to the error above. This error seems to have crept into align_epi_anat.py sometime between the December 6 2012 and May 22 2013 builds. It is still present in the latest AFNI (built Jun 25 2013), which I just downloaded from the website. Could you guys fix the error, and let me know as soon as a fixed build (for MacOS 10.8) is available? Thanks!