epi_b0_correct.py

Hi AFNI experts,

I am trying to apply distortion correction using epi_b0_correct.py but AFNI keeps telling me “command not found.” My AFNI version is 18.2.15, but I have already updated the existing binaries using @update.afni.binaries -d. Running afni_system_check.py -check_all gives me the old binaries (I’m assuming, since it still says 2018).

afni version : Precompiled binary macosx_10.7_local: Aug 28 2018
: AFNI_18.2.15
AFNI_version.txt : AFNI_18.2.15, macosx_10.7_local, Aug 28 2018
which python : /usr/bin/python
python version : 2.7.16
which R : /usr/local/bin/R
R version : R version 4.0.5 (2021-03-31) – “Shake and Throw”
which tcsh : /bin/tcsh

Anyways, I think the problem is the afni version since all the older programs work fine (eg., 3dDeconvolve)…or maybe python? Any suggestions and thoughts would be very helpful and greatly appreciated. Thank you!

Howdy-

What version of Mac OS are you using?

The issues is that you have a package that is no longer maintained (Mac binaries build on OS 10.7). The only Mac binaries we currently distribute are 10.12 (though we will likely have 11.* soon-ish). If your Mac OS is 10.12 or higher (and I think even 10.11 might be OK), then you can update by switching to the distributed Mac binaries (built on OS 10.12):


@update.afni.binaries -package macos_10.12_local

–pt

Thank you! That works perfectly for me (Mac OS 10.13).