From e44f24cb0683895e31a73db7eb378bdd622f2373 Mon Sep 17 00:00:00 2001 From: Witold Wolski Date: Thu, 23 Nov 2023 17:27:05 +0100 Subject: [PATCH] fix KeyError: 'log2_A_vs_B' --- test/test_module_dda_quant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_module_dda_quant.py b/test/test_module_dda_quant.py index 9ecfb28f..e13b5530 100644 --- a/test/test_module_dda_quant.py +++ b/test/test_module_dda_quant.py @@ -184,7 +184,7 @@ def test_plot_bench(self): combined_list = human_strings + ecoli_strings + yeast_strings combineddf = pd.DataFrame( - {"SPECIES": combined_list, "1|2_ratio": combined_ratios} + {"SPECIES": combined_list, "log2_A_vs_B": combined_ratios} ) combineddf["HUMAN"] = combineddf["SPECIES"] == "HUMAN" combineddf["ECOLI"] = combineddf["SPECIES"] == "ECOLI"