Skip to content

Commit bdabfdb

Browse files
Tweak tqdm displays
1 parent 2439c70 commit bdabfdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bio2zarr/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def __init__(self, worker_processes=1, progress_config=None):
188188
self.progress_config = progress_config
189189
self.progress_bar = tqdm.tqdm(
190190
total=progress_config.total,
191-
desc=f"{progress_config.title:>9}",
191+
desc=f"{progress_config.title:>7}",
192192
unit_scale=True,
193193
unit=progress_config.units,
194194
smoothing=0.1,

bio2zarr/vcf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1787,7 +1787,7 @@ def validate(vcf_path, zarr_path, show_progress=False):
17871787
assert pos[start_index] == first_pos
17881788
vcf = cyvcf2.VCF(vcf_path)
17891789
if show_progress:
1790-
iterator = tqdm.tqdm(vcf, desc=" Verify", total=vcf.num_records)
1790+
iterator = tqdm.tqdm(vcf, desc=" Verify", total=vcf.num_records)
17911791
else:
17921792
iterator = vcf
17931793
for j, row in enumerate(iterator, start_index):

0 commit comments

Comments
 (0)