From 7ec7997309b66ae060ac80588ea340e1549b1bfd Mon Sep 17 00:00:00 2001 From: Shusaku Arakuta <arakuta@champ.hep.sci.osaka-u.ac.jp> Date: Wed, 2 Mar 2022 17:04:51 +0100 Subject: [PATCH] Devel arakuta bug --- scanLauncher.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scanLauncher.sh b/scanLauncher.sh index 97f11de..f55a154 100755 --- a/scanLauncher.sh +++ b/scanLauncher.sh @@ -94,8 +94,10 @@ if echo "${scanName}" | grep "tune_globalpreamp" >>/dev/null; then exit 1 else targetAmpOrCharge=$(jq -j '.common_config.target_preamp' $SCANCFG) - targetToT=$(echo $scan | jq -r '.[1]') + targetToT=$(echo $scan | jq -r '.[1]') fi +elif echo "${scanName}" | grep "totscan" >>/dev/null; then + targetAmpOrCharge=$(jq -j '.common_config.target_preamp' $SCANCFG) else targetToT="" if [[ $(echo $scan | jq '. | length') == 2 ]]; then -- GitLab