Skip to content

Commit 7a62f65

Browse files
aryobenholzneraothms
authored andcommitted
Fix large BCF file creation by allowing Zip64
1 parent d566ba6 commit 7a62f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bcf/bcf/inmemory_zipfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(
2626
self._file_name: Optional[str | Path] = str(file_name) if hasattr(file_name, "_from_parts") else file_name
2727
self.in_memory_data = BytesIO()
2828
# Create the in-memory zipfile
29-
self.in_memory_zip = zipfile.ZipFile(self.in_memory_data, "w", compression, False)
29+
self.in_memory_zip = zipfile.ZipFile(self.in_memory_data, "w", compression, True)
3030
self.in_memory_zip.debug = debug
3131

3232
def writestr(self, filename_in_zip: str | zipfile.ZipInfo, file_contents: bytes | str) -> None:

0 commit comments

Comments
 (0)