Skip to content

Commit

Permalink
fix calcInteractionsMultipleFrames double appending
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Dec 17, 2024
1 parent ab3d7f7 commit 9c00da7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions prody/proteins/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1781,13 +1781,10 @@ def analyseFrame(i, interactions_all):
if max_proc == 1:
interactions_all = []
for i in range(len(atoms.getCoordsets()[start_frame:stop_frame])):
interactions_all.append([])
analyseFrame(i, interactions_all)
else:
with mp.Manager() as manager:
interactions_all = manager.list()
for i in range(len(atoms.getCoordsets()[start_frame:stop_frame])):
interactions_all.append([])

i = start_frame
while i < len(atoms.getCoordsets()[start_frame:stop_frame]):
Expand Down

0 comments on commit 9c00da7

Please sign in to comment.