Skip to content

Commit

Permalink
Merge pull request #336 from OpenBioSim/fix_335
Browse files Browse the repository at this point in the history
Fix issue #335
  • Loading branch information
lohedges authored Sep 17, 2024
2 parents f692128 + e68b763 commit dc6602e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions python/BioSimSpace/Sandpit/Exscientia/_SireWrappers/_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,14 +887,14 @@ def updateMolecules(self, molecules):
else:
raise ValueError(f"System doesn't contain molecule: {mol}")

# Update the Sire object.
self._sire_object = system
# Update the Sire object.
self._sire_object = system

# Reset the index mappings.
self._reset_mappings()
# Reset the index mappings.
self._reset_mappings()

# Update the molecule numbers.
self._mol_nums = self._sire_object.molNums()
# Update the molecule numbers.
self._mol_nums = self._sire_object.molNums()

def getMolecule(self, index):
"""
Expand Down
12 changes: 6 additions & 6 deletions python/BioSimSpace/_SireWrappers/_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,14 +887,14 @@ def updateMolecules(self, molecules):
else:
raise ValueError(f"System doesn't contain molecule: {mol}")

# Update the Sire object.
self._sire_object = system
# Update the Sire object.
self._sire_object = system

# Reset the index mappings.
self._reset_mappings()
# Reset the index mappings.
self._reset_mappings()

# Update the molecule numbers.
self._mol_nums = self._sire_object.molNums()
# Update the molecule numbers.
self._mol_nums = self._sire_object.molNums()

def getMolecule(self, index):
"""
Expand Down

0 comments on commit dc6602e

Please sign in to comment.