cmaumet / blog

My blog:
http://blog.camillemaumet.com
MIT License
0 stars 0 forks source link

Switch between two versions of FSL #2

Closed cmaumet closed 7 years ago

cmaumet commented 7 years ago

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:

  1. FSL 5.0.9 (installed on my system);
  2. 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