Skip to content

Commit c5c0682

Browse files
committed
bugfix: more missing buffer flushes
1 parent 7d40eb7 commit c5c0682

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

v03_pipeline/lib/reference_datasets/clinvar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_submission_summary_ht() -> hl.Table:
113113
timeout=10,
114114
) as r:
115115
shutil.copyfileobj(r.raw, tmp_file)
116-
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
116+
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
117117
ht = hl.import_table(
118118
cloud_tmp_file,
119119
force=True,

v03_pipeline/lib/reference_datasets/helix_mito.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_ht(
2323
delete=False,
2424
) as tmp_file, requests.get(url, stream=True, timeout=10) as r:
2525
shutil.copyfileobj(r.raw, tmp_file)
26-
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
26+
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
2727
ht = hl.import_table(
2828
cloud_tmp_file,
2929
types={

v03_pipeline/lib/reference_datasets/screen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_ht(path: str, reference_genome: ReferenceGenome) -> hl.Table:
2121
timeout=10,
2222
) as r:
2323
shutil.copyfileobj(r.raw, tmp_file)
24-
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
24+
cloud_tmp_file = copy_to_cloud_storage(tmp_file.name)
2525
ht = hl.import_table(
2626
cloud_tmp_file,
2727
no_header=True,

0 commit comments

Comments
 (0)