From 668273e29048dc6437d6fd369be2a95fec25b66f Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Thu, 17 Nov 2022 19:08:44 +0100 Subject: [PATCH] Fix setting CalParrot proxy in cal_tools settings --- bin/slurm_calibrate.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/slurm_calibrate.sh b/bin/slurm_calibrate.sh index 14e6d96d6..01026e9af 100755 --- a/bin/slurm_calibrate.sh +++ b/bin/slurm_calibrate.sh @@ -50,8 +50,7 @@ then ${python_path} -m calparrot --port-file $port_file calparrot_port=$(cat $port_file) rm $port_file - export CAL_CAL_TOOLS_CALCAT__base-api-url="http://127.0.0.1:${calparrot_port}" - export CAL_CAL_TOOLS_CALCAT__use-oauth2=false + export CAL_CAL_TOOLS_CALCAT="{base-api-url='http://127.0.0.1:${calparrot_port}/api', use-oauth2=false}" fi echo "Running notebook" -- GitLab