ソースを参照

set FSL variables

Christian O. Häusler 10 ヶ月 前
コミット
657713c779
1 ファイル変更7 行追加0 行削除
  1. 7 0
      code/predict_ppa_venv.sh

+ 7 - 0
code/predict_ppa_venv.sh

@@ -7,5 +7,12 @@ niter=$4
 # activate the virtual environment
 . code/localpython/venv/python37/bin/activate
 
+# FSL v5.0.9 directory
+FSLDIR=~/fsl
+. ${FSLDIR}/etc/fslconf/fsl.sh
+PATH=${FSLDIR}/bin:${PATH}
+export FSLDIR PATH
+. ${FSLDIR}/etc/fslconf/fsl.sh
+
 # call the script
 ./code/predict_ppa.py -indir $indir -model $model -nfeat $nfeat -niter $niter