From e45b9546917a07c84f1b3af1c51339157ca02818 Mon Sep 17 00:00:00 2001 From: alex-hh Date: Fri, 15 Nov 2024 01:50:58 +0000 Subject: [PATCH] formatting --- src/bio_datasets/structure/residue.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bio_datasets/structure/residue.py b/src/bio_datasets/structure/residue.py index 15e17aa..be31f65 100644 --- a/src/bio_datasets/structure/residue.py +++ b/src/bio_datasets/structure/residue.py @@ -327,7 +327,8 @@ def keep_res(res_name): keep_hydrogens or res_name not in ["H", "D", "D8U"] ) res_filter = res_filter and ( - res_name in chem_component_3to1 and res_name in chem_component_categories + res_name in chem_component_3to1 + and res_name in chem_component_categories ) return res_filter