Skip to content

Commit 527153c

Browse files
authored
Merge pull request #21 from Edinburgh-Genome-Foundry/fix-write-report-zip
Fix #21 write_report() for zip files
2 parents 9d9b92d + e29c191 commit 527153c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnacauldron/Assembly/AssemblyReportWriter/AssemblyReportWriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,5 @@ def write_report(self, assembly_simulation, target):
182182
assembly_simulation, report_root, error_type="warnings"
183183
)
184184

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

0 commit comments

Comments
 (0)