AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
Anonymous User
June 30, 2013 04:55AM
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!
Subject Author Posted

align_epi_anat.py error (in latest AFNI builds)

Anonymous User June 30, 2013 04:55AM

Re: align_epi_anat.py error (in latest AFNI builds)

Daniel Glen July 01, 2013 12:02PM