Skip to content

Commit

Permalink
fix(pr-review): sync model and job meta workdirs
Browse files Browse the repository at this point in the history
Co-authored-by: Nels <[email protected]>
  • Loading branch information
aaraney and hellkite500 committed Aug 15, 2024
1 parent d788223 commit aab8cf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ngen_cal/src/ngen/cal/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def __init__(self, model: Model, workdir: Path, log: bool=False, restart: bool=F

if self._job is None:
self._job = JobMeta(ngen_model.type, workdir, log=log)
ngen_model.workdir = self.job.workdir
self._model.model.resolve_paths(self.job.workdir)

self._params = parameters
Expand Down

0 comments on commit aab8cf8

Please sign in to comment.