Skip to content

Commit bd6e8fc

Browse files
authored
Update misc_omnisphero.py
Closed dangling zip file IO stream
1 parent 3775ef5 commit bd6e8fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

misc_omnisphero.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ def hdf5_loader_worker(filename: str, path: str, pattern: str, suffix_data: str,
251251
# input_zip = ZipFile(path + os.sep + filename)
252252
# zipped_data_name = input_zip.namelist()[0]
253253
# data = input_zip.read(zipped_data_name)
254+
# input_zip.close()
255+
#
254256
# f = h5py.File(data, 'r')
255257
# worker_x = read_hdf5_content(f, gp_current, gp_max, pattern, filename, well_regex, normalize_enum,
256258
# terminal_columns, verbose, best_well_max, best_well_min)

0 commit comments

Comments
 (0)