History of AFNI updates  

|
September 30, 2014 03:50PM
Hi folks,

I needed align_epi_anat.py to handle NIfTI -child_anat datasets, so I patched it. Here's the patch for upstream:
$ align_epi_anat.py -version
#++ align_epi_anat version: 1.47

$ diff --context ~/abin/{auto_backup.linux_xorg7_64/,}align_epi_anat.py
*** /home/schwabacher/abin/auto_backup.linux_xorg7_64/align_epi_anat.py	2014-08-23 20:22:16.000000000 -0500
--- /home/schwabacher/abin/align_epi_anat.py	2014-09-30 14:16:20.453530059 -0500
***************
*** 1967,1976 ****
                 # skip the parent if it's included
                 if(child_anat.input()==ps.anat0.input()) :
                    child_anat_out = afni_name("%s%s_child%s%s" % \
!                     (child_anat.p(),child_anat.out_prefix(),suf,child_anat.view))
                 else:
                    child_anat_out=afni_name("%s%s%s%s" % \
!                     (child_anat.p(),child_anat.out_prefix(),suf,child_anat.view))
                 
                 child_anat_out.view = anatview     # child_anat.view
                 self.info_msg("Processing child %s: %s" % \
--- 1967,1976 ----
                 # skip the parent if it's included
                 if(child_anat.input()==ps.anat0.input()) :
                    child_anat_out = afni_name("%s%s_child%s%s" % \
!                     (child_anat.p(),child_anat.prefix,suf,child_anat.view))
                 else:
                    child_anat_out=afni_name("%s%s%s%s" % \
!                     (child_anat.p(),child_anat.prefix,suf,child_anat.view))
                 
                 child_anat_out.view = anatview     # child_anat.view
                 self.info_msg("Processing child %s: %s" % \
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