Skip to content

Commit

Permalink
fixing fstrings for Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Oct 13, 2024
1 parent feac8ab commit 87428b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87428b7

Please sign in to comment.