Skip to content

Commit

Permalink
Merge pull request #21 from Edinburgh-Genome-Foundry/fix-write-report…
Browse files Browse the repository at this point in the history
…-zip

Fix #21 write_report() for zip files
  • Loading branch information
veghp authored Jul 19, 2023
2 parents 9d9b92d + e29c191 commit 527153c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,5 @@ def write_report(self, assembly_simulation, target):
assembly_simulation, report_root, error_type="warnings"
)

if target == "@memory":
if (target == "@memory") or str(target).endswith(".zip"):
return report_root._close()

0 comments on commit 527153c

Please sign in to comment.