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

fix file at root

parent 36c0f1f4
No related branches found
No related tags found
No related merge requests found
Pipeline #13242 passed with stages
in 1 minute and 28 seconds
...@@ -23,7 +23,7 @@ from .bioflowinsighterror import BioFlowInsightError ...@@ -23,7 +23,7 @@ from .bioflowinsighterror import BioFlowInsightError
class Nextflow_File(Nextflow_Building_Blocks): class Nextflow_File(Nextflow_Building_Blocks):
def __init__(self, address, duplicate = True, DSL="", author = None, name = None, origin=None, output_dir='./results', display_info = True): def __init__(self, address, duplicate = True, DSL="", author = None, name = None, origin=None, output_dir='./results', display_info = True):
self.file = address self.file = address
if(self.file.find('/')!=-1): if(self.get_file_address().find('/')!=-1):
raise BioFlowInsightError(f"BioFlow-Insight cannot directly analyse a workflow from its directory. Please analyse the workflow from the parent directory instead.", num = -1) raise BioFlowInsightError(f"BioFlow-Insight cannot directly analyse a workflow from its directory. Please analyse the workflow from the parent directory instead.", num = -1)
self.output_dir = Path(output_dir) self.output_dir = Path(output_dir)
......
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