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

updating pattern for external call detection

parent ff466c56
No related branches found
No related tags found
No related merge requests found
Pipeline #13919 passed with stage
in 1 minute and 2 seconds
...@@ -58,7 +58,7 @@ class Process(Nextflow_Building_Blocks): ...@@ -58,7 +58,7 @@ class Process(Nextflow_Building_Blocks):
def get_external_scripts_call(self): def get_external_scripts_call(self):
code = self.get_script_code() code = self.get_script_code()
tab = [] tab = []
for match in re.finditer(r"([^\s\\\*]+\.(sh|py|R|r|pl|rg))[^\w]", code): for match in re.finditer(r"([^\s\\\*\{\}\[\]]+\.(sh|py|R|r|pl|rg))[^\w]", code):
tab.append(match.group(1)) tab.append(match.group(1))
return list(set(tab)) return list(set(tab))
......
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