Skip to content

Commit e5c6bf5

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent f9cceb8 commit e5c6bf5

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
@@ -1952,7 +1952,7 @@ def prepare(self) -> int:
19521952
self._sim_dict[resfilename] = df_data
19531953

19541954
mscmd = mod_structure.simulate_cmd(
1955-
resultfile=resultfile.absolute().resolve(),
1955+
result_file=resultfile.absolute().resolve(),
19561956
timeout=self._timeout,
19571957
)
19581958
if self._simargs is not None:
@@ -2100,12 +2100,12 @@ def get_solutions(
21002100
continue
21012101

21022102
if var_list is None:
2103-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
2103+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
21042104
else:
21052105
var_list_row = var_list
21062106

21072107
try:
2108-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2108+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
21092109
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
21102110
sol_dict[resultfilename]['msg'] = 'Simulation available'
21112111
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)