From 554c78f54e88b7fd9d4c2c95e12d88b76caad6a4 Mon Sep 17 00:00:00 2001
From: George Marchment <georgemarchment@yahoo.fr>
Date: Tue, 1 Apr 2025 09:52:22 +0200
Subject: [PATCH] Added proxy (get_order of execution) to check duplicate
 operations at the beginning of the analysis

---
 src/workflow.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/workflow.py b/src/workflow.py
index fb4d4aa..9fc7469 100644
--- a/src/workflow.py
+++ b/src/workflow.py
@@ -816,7 +816,10 @@ George Marchment, Bryan Brancotte, Marie Schmit, Frédéric Lemoine, Sarah Cohen
             self.rewrite_and_initialise(code, self.processes_2_remove, render_graphs=render_graphs)
         
 
-        if(self.duplicate):    
+        if(self.duplicate):  
+            #First check if there are any duplicate operations
+            #That method is in the "get_order_execution_executors" method -> so we just run that first
+            self.get_order_execution_executors()  
             
             
             #DETERMING WHICH SUBWORKFLOWS ARE BROKEN WITH THE CLUSTER
-- 
GitLab