From 87428b779029e218f499d5176dfc68f1b2541b80 Mon Sep 17 00:00:00 2001 From: karolamik13 Date: Sun, 13 Oct 2024 21:00:09 +0200 Subject: [PATCH] fixing fstrings for Python 2.7 --- prody/proteins/interactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prody/proteins/interactions.py b/prody/proteins/interactions.py index 8af6e9090..1dba0a7c1 100644 --- a/prody/proteins/interactions.py +++ b/prody/proteins/interactions.py @@ -3639,7 +3639,7 @@ def getFrequentInteractors(self, contacts_min=2): for interaction in interaction_group: interaction_type, pair = interaction.split(':') swapped_pair = '-'.join(pair.split('-')[::-1]) - swapped_group.append(f"{interaction_type}:{swapped_pair}") + swapped_group.append("{}:{}".format(interaction_type, swapped_pair)) swapped_ListOfInteractions_list.append(swapped_group) doubleListOfInteractions_list = ListOfInteractions_flattened+swapped_ListOfInteractions_list