Skip to content

Commit

Permalink
saveInteractionsAsDummyAtoms fix with kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Sep 8, 2024
1 parent 9f2484b commit def37bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ def calcDistribution(interactions, residue1, residue2=None, **kwargs):
LOGGER.info(i)


def saveInteractionsAsDummyAtoms(atoms, interactions, filename, *kwargs):
def saveInteractionsAsDummyAtoms(atoms, interactions, filename, **kwargs):
'''Creates a PDB file which will contain protein structure and dummy atoms that will be placed between pairs
of interacting residues.
Expand All @@ -2226,9 +2226,9 @@ def saveInteractionsAsDummyAtoms(atoms, interactions, filename, *kwargs):
except TypeError:
raise TypeError('coords must be an object '
'with `getCoords` method')

RESNAME_dummy = kwargs.pop('RESNAME_dummy', 'DUM')

def putDUMatom(coord1, coord2):
midpoint = [
(coord1[0] + coord2[0]) / 2,
Expand Down

0 comments on commit def37bb

Please sign in to comment.