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  

|
December 08, 2014 01:09PM
Hey folks,

I'm trying to use 3dNwarpApply to combine multiple transformations in a single step. I'm using the version compiled on Dec 5 2014, and I think the recent update might have broken my script. Previous versions of the script worked, now I am getting the following error.


Processing -nwarp ** ERROR: Cannot read affine warp from file '018.base_PLUS_al.1Dparam.1D'

This comes from the following command:

3dAllineate \
-warp shift_rotate \
-1Dparam_save ${subject}.base_PLUS_al.1Dparam.1D \
-base ${subject}.anat.fs_ss+orig \
-source ${subject}.base_PLUS+orig \
-prefix ${subject}.base_PLUS_al

I've verified that the file does exist, and that it contains the following transformation parameters.

# 3dAllineate parameters:
# x-shift y-shift z-shift z-angle x-angle y-angle
-0.614628 13.531715 -20.516838 -3.949078 15.605938 -2.711121

For reference, here is my 3dNwarpApply command.
3dNwarpApply \
-nwarp "${subject}.base_PLUS_WARP+orig ${subject}.base_PLUS_al.1Dparam.1D ${subject}.anat.fs_ss.qepi_WARPINV+orig ${subject}.anat.fs_ss_Allin.aff12.1D ${subject}.anat.fs_ss_WARP+tlrc" \
-master ${subject}.anat.fs_ss+tlrc \
-source ${subject}.buck+orig \
-prefix ${subject}.buck.qwarp

Thanks,
-nick
Subject Author Posted

Possible 3dNwarpApply bug

Nicholas Balderston December 08, 2014 01:09PM

Re: Possible 3dNwarpApply bug

Daniel Glen December 08, 2014 04:42PM

Re: Possible 3dNwarpApply bug

Nicholas Balderston December 12, 2014 10:17AM