From 0f8e61d70ec38a9c0644d1b0874b305c79b79999 Mon Sep 17 00:00:00 2001 From: Will Nickols Date: Sat, 24 Dec 2022 10:29:27 -0600 Subject: [PATCH] Update assembly_workflow.py --- assembly_workflow.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/assembly_workflow.py b/assembly_workflow.py index 05e7925..d4fa8c8 100644 --- a/assembly_workflow.py +++ b/assembly_workflow.py @@ -302,23 +302,16 @@ def list_depends(name, step, paired): depends_list = [str(name + "_paired_1." + input_extension), str(name + "_paired_2." + input_extension), str(name + "_unmatched_1." + input_extension), str(name + "_unmatched_2." + input_extension)] else: depends_list = [str(name + pair_identifier + "." + input_extension), str(name + pair_identifier_2 + "." + input_extension)] - if os.path.isfile(output + "remove_complete0.done"): - depends_list.append(output + "remove_complete0.done") else: depends_list.append(str(bins_dir + name.split("/")[-1] + ".done")) return depends_list else: depends_list = [str(name + "." + input_extension)] - if os.path.isfile(output + "remove_complete0.done"): - depends_list.append(output + "remove_complete0.done") else: depends_list.append(str(bins_dir + name.split("/")[-1] + ".done")) return depends_list elif step == "copy_bins": - if os.path.isfile(output + "remove_complete0.done"): - return [output + "remove_complete0.done"] - else: - return [str(bins_dir + name.split("/")[-1] + ".done")] + return [str(bins_dir + name.split("/")[-1] + ".done")] ############################