From e07d34ae22d51054dee661903c11af1e68b47f25 Mon Sep 17 00:00:00 2001 From: luissian Date: Mon, 11 Mar 2024 10:36:30 +0100 Subject: [PATCH] correcting liting --- taranis/allele_calling.py | 1 - taranis/eval_cluster.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/taranis/allele_calling.py b/taranis/allele_calling.py index c9e11f8..694ef3e 100644 --- a/taranis/allele_calling.py +++ b/taranis/allele_calling.py @@ -9,7 +9,6 @@ # import numpy from collections import OrderedDict -import pandas as pd from pathlib import Path from Bio import SeqIO diff --git a/taranis/eval_cluster.py b/taranis/eval_cluster.py index 5f30820..be2e041 100644 --- a/taranis/eval_cluster.py +++ b/taranis/eval_cluster.py @@ -175,9 +175,9 @@ def evaluate_clusters( "alleles_not_found" ] if len(result_eval["alleles_not_in_cluster"]) > 0: - evaluation_alleles[cluster_id][ - "alleles_not_in_cluster" - ] = result_eval["alleles_not_in_cluster"] + evaluation_alleles[cluster_id]["alleles_not_in_cluster"] = ( + result_eval["alleles_not_in_cluster"] + ) else: evaluation_alleles[cluster_id]["result"] = "OK" return self.summary(evaluation_alleles)