Edinburgh-Genome-Foundry / DnaCauldron

:alembic: Simple cloning simulator (Golden Gate etc.) for single and combinatorial assemblies
https://edinburgh-genome-foundry.github.io/DnaCauldron/
MIT License
50 stars 11 forks source link

fix write_report() for zip files #21

Closed Zulko closed 1 year ago

Zulko commented 1 year ago

Heya! It's been brought to my attention that the README shows simulation.write_report("report.zip") as an example, but it actually doesn't work, it returns an empty zip file, becauser the zip handle is not closed() after writing. This MR fixes that.