From 47db95d928147905b36b8287032801732fe0b70e Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Mon, 6 Dec 2021 17:53:38 +0000
Subject: [PATCH] Don't pass --priority from webservice to xfel-calibrate

---
 webservice/webservice.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/webservice/webservice.py b/webservice/webservice.py
index 924455968..3c1fc1b1f 100644
--- a/webservice/webservice.py
+++ b/webservice/webservice.py
@@ -838,8 +838,8 @@ class ActionsServer:
         :param instrument: is the instrument
         :param cycle: is the facility cycle
         :param proposal: is the proposal id
-        :param runnr: is the run number in integer form, e.g. without leading
-                     "r"
+        :param runnr: the run number in integer form, i.e. without leading "r"
+        :param priority: unused, retained for compatibility
 
         This will trigger a correction process to be launched for that run in
         the given cycle and proposal.
@@ -911,8 +911,6 @@ class ActionsServer:
                         thisconf["out-folder"] = out_folder
                         thisconf["karabo-id"] = karabo_id
                         thisconf["run"] = runnr
-                        if priority:
-                            thisconf["priority"] = str(priority)
 
                         detectors[karabo_id] = thisconf
                 copy_file_set = copy_file_list.difference(corr_file_list)
-- 
GitLab