Skip to content

Commit 08cf292

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent 7355251 commit 08cf292

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OMPython/ModelicaSystem.py

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

19451945
mscmd = mod_structure.simulate_cmd(
1946-
resultfile=resultfile.absolute().resolve(),
1946+
result_file=resultfile.absolute().resolve(),
19471947
timeout=self._timeout,
19481948
)
19491949
if self._simargs is not None:
@@ -2091,12 +2091,12 @@ def get_solutions(
20912091
continue
20922092

20932093
if var_list is None:
2094-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
2094+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
20952095
else:
20962096
var_list_row = var_list
20972097

20982098
try:
2099-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2099+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
21002100
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
21012101
sol_dict[resultfilename]['msg'] = 'Simulation available'
21022102
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)