Skip to content

Commit

Permalink
Merge pull request #24 from zadorlab/sella_trajectory
Browse files Browse the repository at this point in the history
Add trajectory field to Sella object
  • Loading branch information
ehermes authored Jun 15, 2023
2 parents 5ac333a + 44e97c2 commit 3ea12c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sella/optimize/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(
atoms: Atoms,
restart: bool = None,
logfile: str = '-',
trajectory: str = None,
trajectory: Union[str, Trajectory] = None,
master: bool = None,
force_consistent: bool = False,
delta0: float = None,
Expand Down Expand Up @@ -205,6 +205,7 @@ def initialize_pes(
hessian_function=hessian_function,
**kwargs
)
self.trajectory = self.pes.traj

def _predict_step(self):
if not self.initialized:
Expand Down

0 comments on commit 3ea12c8

Please sign in to comment.