Switch between two versions of FSL
Most of the times we can rely on a single version of FSL. But recently I have been developing an update for FEAT (more info here), and needed to temporary switch between:
- FSL 5.0.9 (installed on my system);
- the patched FSL I was working on.
This short snippet allows to switch between the main FSL installation (available by default) and the development FSL version (available at /Users/cmaumet/Softs/external/fsl_patched
):
export FSLDIR=/Users/cmaumet/Softs/external/fsl_patched
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
. ${FSLDIR}/etc/fslconf/fsl.sh