From 67af071121175158fbfb478ae8076e81eaa5af6d Mon Sep 17 00:00:00 2001 From: LHCbDIRAC Bot <dirac.bot@cern.ch> Date: Wed, 16 Oct 2024 18:07:08 +0200 Subject: [PATCH] Merge branch 'roneil-prodmgr-bkq-fix' into 'master' fix output of _getBKKQuery for launch_sprucing See merge request lhcb-dirac/LHCbDIRAC!1649 (cherry picked from commit f4e439290dd440160120de67d74bafe514cebf43) 59046416 fix output of _getBKKQuery for launch_sprucing Co-authored-by: Federico Stagni <federico.stagni@cern.ch> --- .../Utilities/ProductionTools/launching.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/ProductionTools/launching.py b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/ProductionTools/launching.py index f224c4ad11..862566e69b 100644 --- a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/ProductionTools/launching.py +++ b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/ProductionTools/launching.py @@ -204,6 +204,12 @@ def launch_sprucing( pr.outConfigName = "validation" if validation else pr.configName if validation: bkQueryDict = pr._getBKKQuery().copy() + if "RunNumbers" in bkQueryDict: + bkQueryDict["RunNumbers"] = bkQueryDict["RunNumbers"].split(";;;") + if "DataQualityFlag" in bkQueryDict: + bkQueryDict["DataQualityFlag"] = bkQueryDict["DataQualityFlag"].split(";;;") + if "ExtendedDQOK" in bkQueryDict: + bkQueryDict["ExtendedDQOK"] = bkQueryDict["ExtendedDQOK"].split(";;;") all_runs = sorted( run for run in returnValueOrRaise(BookkeepingClient().getListOfRuns(bkQueryDict)) -- GitLab