Skip to content

Commit 1096b37

Browse files
authored
Merge pull request #460 from OpenBioSim/fix_459
Fix issue #459
2 parents 20ad1b8 + aec0bfd commit 1096b37

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

python/BioSimSpace/Sandpit/Exscientia/Trajectory/_trajectory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ def getFrames(self, indices=None):
805805
self._trajectory.select_atoms("all").write(pdb_file)
806806

807807
# Try to update the coordinates/velocities in the reference system.
808-
if self._system is not None and self._system.nPerturbableMolecules() == 0:
808+
if self._system is not None:
809809
if self._backend == "SIRE" and frame.current().num_molecules() > 1:
810810
try:
811811
new_system = frame.current()._system

python/BioSimSpace/Trajectory/_trajectory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ def getFrames(self, indices=None):
805805
self._trajectory.select_atoms("all").write(pdb_file)
806806

807807
# Try to update the coordinates/velocities in the reference system.
808-
if self._system is not None and self._system.nPerturbableMolecules() == 0:
808+
if self._system is not None:
809809
if self._backend == "SIRE" and frame.current().num_molecules() > 1:
810810
try:
811811
new_system = frame.current()._system

0 commit comments

Comments
 (0)