Skip to content

Commit 868a4c4

Browse files
committed
Use substitute_runpath_name instead of ad-hoc replace
1 parent 02570b7 commit 868a4c4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ert/storage/local_ensemble.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,7 @@ def load_parameters_and_responses_from_runpath(
14391439
load_realization_parameters_and_responses(*args)
14401440
),
14411441
(
1442-
run_path_format.replace("<IENS>", str(realization)).replace(
1443-
"<ITER>", "0"
1444-
),
1442+
substitute_runpath_name(run_path_format, realization, 0),
14451443
realization,
14461444
0,
14471445
ensemble,

0 commit comments

Comments
 (0)