diff --git a/src/nextflow_file.py b/src/nextflow_file.py index 9a026ffa4ec72f20b2ce20a30ea0dc795c33a667..69302228eb9ba9a08a89c300943f89524e6bc85c 100644 --- a/src/nextflow_file.py +++ b/src/nextflow_file.py @@ -23,8 +23,7 @@ from .bioflowinsighterror import BioFlowInsightError 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): self.file = address - print(self.get_file_address()) - if(self.get_file_address().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) self.output_dir = Path(output_dir)