Skip to content

Commit d36987e

Browse files
committed
Further ert_template fix
1 parent 0b9c768 commit d36987e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ert/run_models/ensemble_smoother.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def run_experiment(
104104
observations=self._observations,
105105
responses=self._response_configuration,
106106
name=self.experiment_name,
107-
ert_templates=self._templates,
107+
templates=self._templates,
108108
)
109109

110110
self.set_env_key("_ERT_EXPERIMENT_ID", str(experiment.id))

tests/ert/unit_tests/test_run_path_creation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def make_run_path(run_paths, run_args, storage):
3737
def func(ert_config):
3838
experiment_id = storage.create_experiment(
3939
parameters=ert_config.ensemble_config.parameter_configuration,
40-
ert_templates=ert_config.ert_templates,
40+
templates=ert_config.ert_templates,
4141
)
4242
prior_ensemble = storage.create_ensemble(
4343
experiment_id, name="prior", ensemble_size=1
@@ -121,7 +121,7 @@ def test_that_run_template_replace_symlink_does_not_write_to_source(
121121
"""
122122
)
123123
)
124-
prior_ensemble = prior_ensemble_args(ert_templates=ert_config.ert_templates)
124+
prior_ensemble = prior_ensemble_args(templates=ert_config.ert_templates)
125125
run_arg = run_args(ert_config, prior_ensemble)
126126
run_path = Path(run_arg[0].runpath)
127127
os.makedirs(run_path)

0 commit comments

Comments
 (0)