Skip to content

Commit

Permalink
Merge branch 'master' into check_cov
Browse files Browse the repository at this point in the history
  • Loading branch information
ngreenwald committed Oct 28, 2020
2 parents 81ee9d6 + d71eb75 commit cb22734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ark/utils/deepcell_service_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from kiosk_client import manager
import os
import glob
from zipfile import ZipFile
from zipfile import ZipFile, ZIP_DEFLATED
import warnings

from ark.utils import misc_utils
Expand Down Expand Up @@ -65,7 +65,7 @@ def create_deepcell_output(deepcell_input_dir, deepcell_output_dir, fovs=None,
# write all files to the zip file
print('Zipping preprocessed tif files.')

with ZipFile(zip_path, 'w') as zipObj:
with ZipFile(zip_path, 'w', compression=ZIP_DEFLATED) as zipObj:
for fov in fovs:
# file has .tif extension
if fov + '.tif' in input_files:
Expand Down

0 comments on commit cb22734

Please sign in to comment.