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  

|
March 14, 2014 12:58PM
Hi there!

I've been trying to use align_epi_anat.py (version 1.44) to coregister two nifti volumes, though the script seems to run into the following issues.

If the epi file is not in AFNI format (and attempting to skull strip):
++ 3dbucket: AFNI version=AFNI_2011_12_21_1014 (Mar 12 2014) [64-bit]
** ERROR: Could not 3dTstat epi
#++ removing skull or area outside brain
Traceback (most recent call last):
File "/usr/local/apps/afni/current/linux_openmp_64/align_epi_anat.py", line 3105, in ?
ps.epi_ts, ps.epi_vr, ps.epi_ns = \
File "/usr/local/apps/afni/current/linux_openmp_64/align_epi_anat.py", line 2814, in process_epi
skullstrip_o = self.skullstrip_data( e, use_ss, ps.skullstrip_opt, prefix)
File "/usr/local/apps/afni/current/linux_openmp_64/align_epi_anat.py", line 2595, in skullstrip_data
com = shell_com( \
AttributeError: 'NoneType' object has no attribute 'input'

whereas this is handled fine with an AFNI-formatted file.

Also, if the structural scan is not in AFNI format, the script saves the resulting output image (with the -anat2epi flag and named by suffix) as follows:

input: struct.nii
output: struct.nii_2epi+orig.nii

Thanks for all your work!
Subject Author Posted

nifti compatibility align_epi_anat.py 1.44?

jasmins March 14, 2014 12:58PM

Re: nifti compatibility align_epi_anat.py 1.44?

rick reynolds March 14, 2014 04:06PM

Re: nifti compatibility align_epi_anat.py 1.44?

Michael Gregory March 14, 2014 04:48PM

Re: nifti compatibility align_epi_anat.py 1.44?

rick reynolds March 14, 2014 09:22PM

Re: nifti compatibility align_epi_anat.py 1.44?

Daniel Glen March 18, 2014 04:28PM

Re: nifti compatibility align_epi_anat.py 1.44?

Michael Gregory March 19, 2014 10:53AM

Re: nifti compatibility align_epi_anat.py 1.44?

Daniel Glen May 02, 2014 05:55PM

Re: nifti compatibility align_epi_anat.py 1.44?

Isaac Schwabacher September 30, 2014 03:50PM

Re: nifti compatibility align_epi_anat.py 1.44?

Daniel Glen October 01, 2014 07:57AM

Re: nifti compatibility align_epi_anat.py 1.44?

Isaac Schwabacher October 01, 2014 11:39AM