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 02, 2020 01:36PM
Hello AFNI Experts,
I think I have come across a bug in auto_warp.py on the latest release related to the skip_affine flag. I ran the following:

auto_warp.py -base MNI.nii -input T1.nii -warp_dxyz 1 -skip_affine no

I received the following error:
else: endif not found.
ls: cannot access anat_XYZ_OYmeqfZ3JqF7n9LNC7gDAA_shft.1D: No such file or directory
** ERROR: mri_matrix_evalrpn('&read4x4Xform() &write(stdout:) ') at '&read4x4Xform()': can't read file ''
mv: missing destination file operand after ‘anat_XYZ_OYmeqfZ3JqF7n9LNC7gDAA_44.1D’


If I change the auto_warpy.py command to have -skip_affine yes, then the command works. This error is consistent across a few different datasets, so it seems isolated to the function. I tried using AFNI_19.2.26 and there were no errors so it seems that there may be a missing endif based on the error above.

Best,
Ajay
Subject Author Posted

Possible bug in AFNI_20.0.09 auto_warp.py

AjaySK March 02, 2020 01:36PM

Re: Possible bug in AFNI_20.0.09 auto_warp.py

ptaylor March 02, 2020 05:15PM

Re: Possible bug in AFNI_20.0.09 auto_warp.py

AjaySK March 02, 2020 11:15PM