Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
jpjarnoux committed Nov 20, 2024
1 parent ecbae76 commit 789e3cc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ppanggolin/formats/readBinaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,12 @@ def read_spots(pangenome: Pangenome, h5f: tables.File, disable_bar: bool = False
table = h5f.root.spots
spots = {}
curr_spot_id = None
for row in tqdm(read_chunks(table, chunk=20000), total=table.nrows, unit="spot", disable=disable_bar):
for row in tqdm(
read_chunks(table, chunk=20000),
total=table.nrows,
unit="spot",
disable=disable_bar,
):
if curr_spot_id != int(row["spot"]):
curr_spot_id = int(row["spot"])
curr_spot = spots.get(curr_spot_id)
Expand Down

0 comments on commit 789e3cc

Please sign in to comment.