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  

|
November 20, 2015 01:07PM
Hi!
I am trying to align 7T EPI data from rats to T1s and to the new Waxholm rat template.
When using align_epi_anat.py, I get the following error message, which leaves me clueless:
NameError: global name 'anat_tlrc' is not defined

This is my command line:

anatomy=VMR.ss+orig
tlrc_anatomy=VMR.ss_norm+tlrc
epi=EPI+tshift+moco+wrap+orig.BRIK

align_epi_anat.py -epi $base_folder/$data_folder/EPI+tshift+moco+wrap+mask_shft+orig -anat $base_folder/$anat_folder/$anatomy -epi_base 0 -epi2anat -anat_has_skull no -epi_strip None -volreg off -tshift off -edge -suffix _algn -overwrite -rat_align -verb 0 -align_centers yes -tlrc_apar $base_folder/$anat_folder/$tlrc_anatomy

This is the full error I get from align_epi_anat.py:

3dAttribute WARP_TYPE /Freiwald/cschwiedrz/rodent/test/Rat_590a_Baseline/T1/VMR.ss_norm
Traceback (most recent call last):
File "/Freiwald/lab_files/opt/afni/align_epi_anat.py", line 3138, in <module>
ps.align_epi2anat(ps.epi_ts, a, ps.AlOpt, suf=suff)
File "/Freiwald/lab_files/opt/afni/align_epi_anat.py", line 2175, in align_epi2anat
anat_tlrc.input())
NameError: global name 'anat_tlrc' is not defined

Any advice would be appreciated.
Thanks! Caspar
Subject Author Posted

NameError: global name 'anat_tlrc' is not defined

casparms November 20, 2015 01:07PM

Re: NameError: global name 'anat_tlrc' is not defined

rick reynolds November 23, 2015 01:34PM

Re: NameError: global name 'anat_tlrc' is not defined

casparms November 23, 2015 02:26PM

Re: NameError: global name 'anat_tlrc' is not defined

rick reynolds November 23, 2015 09:33PM

Re: NameError: global name 'anat_tlrc' is not defined

casparms November 24, 2015 02:52PM