From a13121608754f1d97c6341d9bb34a24b24ce6536 Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Mon, 16 Sep 2024 10:40:55 +0200 Subject: [PATCH] update: Update executor in call --- src/executor.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/executor.py b/src/executor.py index 15a7c58..8f099ab 100644 --- a/src/executor.py +++ b/src/executor.py @@ -178,12 +178,14 @@ class Executor(Nextflow_Building_Blocks): if(curly_count==0 and parenthese_count==0 and quote_single==False and quote_double==False): if(code[end]=="."): - for operator in constant.LIST_OPERATORS: - try: - if(code[end:end+len(operator)+1]=="."+operator): - is_operation=True - except: - None + #I've updated this -> in anycase if it's an emit it's still an operation + is_operation=True + #for operator in constant.LIST_OPERATORS: + # try: + # if(code[end:end+len(operator)+1]=="."+operator): + # is_operation=True + # except: + # None end+=1 #If it is type operation -> the funtion returns the operation @@ -195,3 +197,4 @@ class Executor(Nextflow_Building_Blocks): from .call import Call return Call(self.get_code(), self.origin) + -- GitLab