Skip to content

Commit

Permalink
Fix bug from refactoring _get_file_size.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Han committed Feb 11, 2019
1 parent 4961d3b commit bbffea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp_variant_transforms/beam_io/vcf_file_size_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def read_records(
buffer_size=self.DEFAULT_VCF_READ_BUFFER_SIZE,
skip_header_lines=0)

_, raw_file_size = _get_file_size(file_name)
raw_file_size = _get_file_size(file_name)

# Open distinct channel to read lines as raw bytestrings.
with filesystems.FileSystems.open(file_name,
Expand Down

0 comments on commit bbffea8

Please sign in to comment.