From fd50172a1c27ae511605d46f79ede3520e5236b4 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Drouin <marc-antoine.drouin@lmd.polytechnique.fr> Date: Mon, 20 Feb 2017 16:08:40 +0100 Subject: [PATCH] correct problem with path of conf file --- run_raw2l1_sirta30s.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/run_raw2l1_sirta30s.sh b/run_raw2l1_sirta30s.sh index aa3d474..e25a3d8 100755 --- a/run_raw2l1_sirta30s.sh +++ b/run_raw2l1_sirta30s.sh @@ -29,6 +29,7 @@ #------------- # 20161206 : MAD SIRTA Creation v1.00 # 20170220 : MAD SIRTA add configuration for P7. use submodule for raw2l1 +# : v1.0.1 correct problem with path of configuration file # # SIRTA 2013 #============================================================================== @@ -99,14 +100,6 @@ DEBUG=0 VERSION=1 REP_SOURCES=$(dirname $(readlink -f $0)) -# RAW2L1 needed path -PYTHON="/opt/python_envs/python2/bin/python" -RAW2L1=${REP_SOURCES}"/sirta-raw2l1/raw2l1/raw2l1.py" -RAW2L1_CONF=${REP_SOURCES}"/"$fich_conf -RAW2L1_LOGS=${REP_SOURCES}"/logs/raw2l1.log" - -NCKS="/usr/bin/ncks" - n=0 #------------------------------------------------------------------------------ @@ -132,6 +125,14 @@ do esac done +# RAW2L1 needed path +PYTHON="/opt/python_envs/python2/bin/python" +RAW2L1=${REP_SOURCES}"/sirta-raw2l1/raw2l1/raw2l1.py" +RAW2L1_CONF=${REP_SOURCES}"/"$fich_conf +RAW2L1_LOGS=${REP_SOURCES}"/logs/raw2l1.log" + +NCKS="/usr/bin/ncks" + #------------------------------------------------------------------------------ # verification des parametres #------------------------------------------------------------------------------ -- GitLab