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