From 36228918351ac34093714007641914c813ef81c1 Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Tue, 19 Mar 2024 12:25:42 +0100 Subject: [PATCH] fix bug --- src/call.py | 2 +- src/workflow.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/call.py b/src/call.py index 0ae3d38..8c0f576 100644 --- a/src/call.py +++ b/src/call.py @@ -54,7 +54,7 @@ class Call(Executor): if(para.get_type()=="Call"): tab = para.get_elements_called(tab_input = tab.copy(), first_call = False) elif(para.get_type()=="Operation"): - tab += para.get_elements_called(tab = tab.copy()) + tab = para.get_elements_called(tab = tab.copy()) temp = list(set(tab)) #del tab diff --git a/src/workflow.py b/src/workflow.py index f458b40..6815b28 100644 --- a/src/workflow.py +++ b/src/workflow.py @@ -19,7 +19,7 @@ class Workflow: license = None, creativeWorkStatus = None, authors = None, version = None, keywords = None, producer = None, publisher = None, processes_2_remove = None): - print("here") + if(not os.path.isfile(file)): nextflow_files = glob.glob(f'{file}/*.nf') if(len(nextflow_files)==0): -- GitLab