Skip to content
Snippets Groups Projects
Commit a1312160 authored by George Marchment's avatar George Marchment
Browse files

update: Update executor in call

parent f56db2e7
No related branches found
No related tags found
No related merge requests found
Pipeline #13961 passed with stages
in 3 minutes and 19 seconds
...@@ -178,12 +178,14 @@ class Executor(Nextflow_Building_Blocks): ...@@ -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(curly_count==0 and parenthese_count==0 and quote_single==False and quote_double==False):
if(code[end]=="."): if(code[end]=="."):
for operator in constant.LIST_OPERATORS: #I've updated this -> in anycase if it's an emit it's still an operation
try: is_operation=True
if(code[end:end+len(operator)+1]=="."+operator): #for operator in constant.LIST_OPERATORS:
is_operation=True # try:
except: # if(code[end:end+len(operator)+1]=="."+operator):
None # is_operation=True
# except:
# None
end+=1 end+=1
#If it is type operation -> the funtion returns the operation #If it is type operation -> the funtion returns the operation
...@@ -195,3 +197,4 @@ class Executor(Nextflow_Building_Blocks): ...@@ -195,3 +197,4 @@ class Executor(Nextflow_Building_Blocks):
from .call import Call from .call import Call
return Call(self.get_code(), self.origin) return Call(self.get_code(), self.origin)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment