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

add remove_script_calls in tools

parent bb78772a
No related branches found
No related tags found
No related merge requests found
Pipeline #13385 passed with stage
in 59 seconds
......@@ -34,8 +34,20 @@ class Process(Nextflow_Building_Blocks):
def get_name(self):
return self.name
def get_tools(self):
return self.tools
def get_tools(self, remove_script_calls = True):
def remove_script_calls(tab_temp):
tab = tab_temp.copy()
if("python" in tab):
tab.remove("python")
if("R" in tab):
tab.remove("R")
if("perl" in tab):
tab.remove("perl")
return tab
if(remove_script_calls):
return remove_script_calls(self.tools)
else:
return self.tools
#def get_source(self):
......
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