From ee70672d4444d2b5c06a32944df3d349e674d419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81lvarez=20Herrera?= Date: Wed, 11 Oct 2023 16:12:30 +0200 Subject: [PATCH] Fix unnecessary list conversion --- workflow/scripts/report/get_annotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/scripts/report/get_annotation.py b/workflow/scripts/report/get_annotation.py index c6eb974..552d70d 100644 --- a/workflow/scripts/report/get_annotation.py +++ b/workflow/scripts/report/get_annotation.py @@ -13,7 +13,7 @@ def main(): logging.info("Reading features") ft = Features(snakemake.input.gb) with open(snakemake.input.features) as f: - feature_key = list(json.load(f)) + feature_key = json.load(f) logging.info("Reading reference") reference = str(next(SeqIO.parse(snakemake.input.ref, "fasta")).seq)