From 162f7199bd6d3b2bac51c2ce4441dbff2a80e9e6 Mon Sep 17 00:00:00 2001 From: ArthurDeclercq Date: Wed, 10 Apr 2024 13:46:47 +0200 Subject: [PATCH] fixed Ralfs suggestions --- ms2rescore/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ms2rescore/core.py b/ms2rescore/core.py index 2b25d7d..4690ac9 100644 --- a/ms2rescore/core.py +++ b/ms2rescore/core.py @@ -175,7 +175,7 @@ def _fill_missing_precursor_info(psm_list, config): get_missing_values(psm_list, config, rt_required=rt_required, im_required=im_required) # Check if values are now present - for value_name, required in [("retention_time", rt_required), ("ion_mobility", im_required)]): + for value_name, required in [("retention_time", rt_required), ("ion_mobility", im_required)]: if required and ( 0.0 in psm_list[value_name] or None in psm_list[value_name]