#if(parenthese_left==0 and parenthese_right==0 and (start, end, temp) not in searched):
if(parenthese_left==0andparenthese_right==0):
try:
pot=extract_executor_from_middle(text,start,end)
...
...
@@ -361,37 +362,39 @@ class Nextflow_Building_Blocks:
raiseBioFlowInsightError(f"Failed to extract the operation or call{self.get_string_line(temp)}. Try rewriting it in a simplified version.",num=11,origin=self)
pot=expand_to_pipe_operators(text,pot)
#If the thing which is extracted is not in the conditon of an if
raiseBioFlowInsightError(f"'{first_thing_called}' is neither a process, subworkflow or an operator. In the executor '{pot}'{self.get_string_line(pot)}.",num=14,origin=self)#TODO -> try rewriting the operation using the standard syntaxe
else:
raiseBioFlowInsightError(f"'{first_thing_called}' is neither a process, subworkflow or an operator. In the executor '{pot}'{self.get_string_line(pot)}.",num=14,origin=self)#TODO -> try rewriting the operation using the standard syntaxe