From 605e92a53fa9fa05fed11a3e6692b2bc918f02de Mon Sep 17 00:00:00 2001 From: Ryan Lim Date: Mon, 29 Jul 2024 16:30:23 +0000 Subject: [PATCH] fix linting --- lib/idseq_utils/idseq_utils/batch_run_helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/idseq_utils/idseq_utils/batch_run_helpers.py b/lib/idseq_utils/idseq_utils/batch_run_helpers.py index 13908468..effac258 100644 --- a/lib/idseq_utils/idseq_utils/batch_run_helpers.py +++ b/lib/idseq_utils/idseq_utils/batch_run_helpers.py @@ -297,11 +297,13 @@ def _db_chunks(bucket: str, prefix): for obj in page["Contents"]: yield obj["Key"] + def count_generator(gen): gen, gen_copy = tee(gen) generator_length = sum(1 for _ in gen_copy) return generator_length, gen + def run_alignment( input_dir: str, db_path: str,