From 1adaefa56f35b1d7efa3072153e0b18dbed1ef27 Mon Sep 17 00:00:00 2001 From: mrethore <martin.rethoret-pasty@pasteur.fr> Date: Wed, 21 Aug 2024 12:13:50 +0200 Subject: [PATCH] Minor update --- module/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/utils.py b/module/utils.py index d28cdb8..3eff1c0 100644 --- a/module/utils.py +++ b/module/utils.py @@ -153,7 +153,7 @@ def armfinder_to_table(data_resistance:pd.DataFrame) -> pd.DataFrame: gene = data_resistance['Gene symbol'][res] + dico_Method[data_resistance['Method'][res]] # Search for certain cases of interruption due to a contig end that AMRfinder is unable to find. if is_contig_edge(data_resistance.iloc[res]) : - data_resistance['Method'][res] = "CTRL_CONTIG_END" + data_resistance.loc[res, 'Method'] = "CTRL_CONTIG_END" if ('tox' in data_resistance['Gene symbol'][res]) and \ (float(data_resistance['% Coverage of reference sequence'][res]) != 100.00) and \ -- GitLab