瀏覽代碼

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