Skip to content

Commit

Permalink
Update assembly_workflow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNickols committed Dec 24, 2022
1 parent 8381036 commit 0f8e61d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions assembly_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")]


############################
Expand Down

0 comments on commit 0f8e61d

Please sign in to comment.