From b3a40d204607750dbbd7388a1f920b344e051e0d Mon Sep 17 00:00:00 2001 From: Chris Burr <christopher.burr@cern.ch> Date: Wed, 30 Oct 2024 20:57:40 +0100 Subject: [PATCH] fix: Allow Stopped -> Completed transistion for transformations --- .../ProductionManagementSystem/Utilities/StateMachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py index 4c7699b59d..9900435146 100644 --- a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py +++ b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py @@ -61,7 +61,7 @@ class ProductionsStateMachine(LHCbStateMachine): "Cleaned": State(15), # final state "Cleaning": State(14, ["Cleaned", "TransformationCleaned"], defState="Cleaning"), "Completing": State(13, ["Validating"], defState="Completing"), - "Stopped": State(12, ["Active"], defState="Stopped"), + "Stopped": State(12, ["Active", "Completed"], defState="Stopped"), "TransformationCleaned": State(16, ["Archived", "Cleaned"], defState="Archived"), "Archived": State(11), # final state "Completed": State(10, ["TransformationCleaned", "Archived"], defState="Completed"), -- GitLab