From 789e3cc414e358193bf4320c5e8299b5efa893fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Arnoux?= Date: Wed, 20 Nov 2024 11:13:02 +0100 Subject: [PATCH] Reformat with black --- ppanggolin/formats/readBinaries.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ppanggolin/formats/readBinaries.py b/ppanggolin/formats/readBinaries.py index 46bc61a5..b817ee24 100644 --- a/ppanggolin/formats/readBinaries.py +++ b/ppanggolin/formats/readBinaries.py @@ -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)