From 49d3cdf40ef6074b893fc44c475d1a44bb706331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Arnoux?= Date: Fri, 13 Oct 2023 11:17:55 +0200 Subject: [PATCH] Fix bug in writting dict --- VERSION | 2 +- ppanggolin/context/searchGeneContext.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index a11c24f7..e805773e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.192 +1.2.193 diff --git a/ppanggolin/context/searchGeneContext.py b/ppanggolin/context/searchGeneContext.py index 1ca725c7..2ed6ae06 100644 --- a/ppanggolin/context/searchGeneContext.py +++ b/ppanggolin/context/searchGeneContext.py @@ -95,7 +95,7 @@ def search_gene_context_in_pangenome(pangenome: Pangenome, output: Path, tmpdir: project_and_write_partition(seqid2fam, seq_set, output) write_gene_to_gene_family(seqid2fam, seq_set, output) - fam2seq = {gf.ID: seqid for seqid, gf in seqid2fam} + fam2seq = {gf.ID: seqid for seqid, gf in seqid2fam.items()} for pan_family in seqid2fam.values(): families_of_interest.add(pan_family)