From 94cd2aa7ea0a3e75fd53283a06109c83e3ad451c Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Thu, 15 Aug 2024 14:40:40 -0400 Subject: [PATCH] fix(pr-review): sync model and job meta workdirs Co-authored-by: Nels --- python/ngen_cal/src/ngen/cal/agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ngen_cal/src/ngen/cal/agent.py b/python/ngen_cal/src/ngen/cal/agent.py index 34370107..6979094a 100644 --- a/python/ngen_cal/src/ngen/cal/agent.py +++ b/python/ngen_cal/src/ngen/cal/agent.py @@ -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