Skip to content

Commit d141128

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent e47c7c3 commit d141128

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,7 +1963,7 @@ def prepare(self) -> int:
19631963
self._sim_dict[resfilename] = df_data
19641964

19651965
mscmd = mod_structure.simulate_cmd(
1966-
resultfile=resultfile.absolute().resolve(),
1966+
result_file=resultfile.absolute().resolve(),
19671967
timeout=self._timeout,
19681968
)
19691969
if self._simargs is not None:
@@ -2111,12 +2111,12 @@ def get_solutions(
21112111
continue
21122112

21132113
if var_list is None:
2114-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
2114+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
21152115
else:
21162116
var_list_row = var_list
21172117

21182118
try:
2119-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2119+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
21202120
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
21212121
sol_dict[resultfilename]['msg'] = 'Simulation available'
21222122
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)