forked from aces/Loris-MRI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
environment
18 lines (15 loc) · 1.03 KB
/
environment
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# to source the MINC toolkit
source %MINC_TOOLKIT_DIR%/minc-toolkit-config.sh
umask 0002
# export PATH, PERL5LIB, TMPDIR and LORIS_CONFIG variables
export PATH=/opt/%PROJECT%/bin/mri:/opt/%PROJECT%/bin/mri/uploadNeuroDB:/opt/%PROJECT%/bin/mri/uploadNeuroDB/bin:/opt/%PROJECT%/bin/mri/dicom-archive:/opt/%PROJECT%/bin/mri/python:/opt/%PROJECT%/bin/mri/tools:/opt/%PROJECT%/bin/mri/python/react-series-data-viewer:%MINC_TOOLKIT_DIR%/bin:/usr/local/bin/tpcclib:$PATH
export PERL5LIB=/opt/%PROJECT%/bin/mri/uploadNeuroDB:/opt/%PROJECT%/bin/mri/dicom-archive:$PERL5LIB
export TMPDIR=/tmp
export LORIS_CONFIG=/opt/%PROJECT%/bin/mri/dicom-archive
# for the Python scripts
export LORIS_MRI=/opt/%PROJECT%/bin/mri
export PYTHONPATH=$PYTHONPATH:/opt/%PROJECT%/bin/mri/python:/opt/%PROJECT%/bin/mri/python/react-series-data-viewer
source /opt/%PROJECT%/bin/mri/python_virtualenvs/loris-mri-python/bin/activate
# for the defacing scripts
export BEASTLIB=%MINC_TOOLKIT_DIR%/../share/beast-library-1.1
export MNI_MODELS=%MINC_TOOLKIT_DIR%/../share/icbm152_model_09c