Skip to content

Commit

Permalink
remove bugged doc line
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Musson committed May 12, 2023
1 parent d3e413d commit 54f00b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/molearn/trainers/openmm_physics_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def train_step(self, batch):
:returns: Return loss. The dictionary must contain an entry with key ``'loss'`` that :func:`self.train_epoch <molearn.trainers.Trainer.train_epoch>` will call ``result['loss'].backwards()`` to obtain gradients.
:rtype: dict
'''
__doc__ +=Trainer.train_step.__doc__

results = self.common_step(batch)
results.update(self.common_physics_step(batch, self._internal['encoded']))
Expand Down

0 comments on commit 54f00b8

Please sign in to comment.