diff --git a/src/executor.py b/src/executor.py index 15a7c58c785ea21ab930d52aedbf58e8fe5a0335..8f099ab644b6252fefcd6d9625052e5506a1f21e 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) +