From e73b10a7f6cce179e595cdb6850c88d8f7b664e6 Mon Sep 17 00:00:00 2001 From: AldovdN <90687940+AldovdN@users.noreply.github.com> Date: Wed, 27 Jul 2022 12:38:06 +0200 Subject: [PATCH] Fixed last residue not being added --- src/cport/modules/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cport/modules/utils.py b/src/cport/modules/utils.py index 93cc753..14501ca 100644 --- a/src/cport/modules/utils.py +++ b/src/cport/modules/utils.py @@ -233,7 +233,7 @@ def get_residue_range(result_dic): active_reslist += [x for x in result_dic[pred]["active"]] reslist = passive_reslist + active_reslist - absolute_range = list(range(min(reslist), max(reslist))) + absolute_range = list(range(min(reslist), max(reslist)+1)) return absolute_range