Skip to content

Commit

Permalink
Update nanome/api/structure/complex.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex McNerney <ajm13@me.com>
  • Loading branch information
mjrosengrant and ajm13 authored Nov 17, 2023
1 parent 731fc4d commit 4b2ca70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nanome/api/structure/complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ def set_current_frame(self, value):

@property
def current_conformer(self):
current_mol = next((
mol for i, mol in enumerate(self.molecules)
if i == self.current_frame), None)
current_mol = self.current_molecule
if current_mol:
return current_mol.current_conformer

Expand Down

0 comments on commit 4b2ca70

Please sign in to comment.