Skip to content

Commit ba930d6

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent 26db60e commit ba930d6

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

20022002
mscmd = mod_structure.simulate_cmd(
2003-
resultfile=resultfile.absolute().resolve(),
2003+
result_file=resultfile.absolute().resolve(),
20042004
timeout=self._timeout,
20052005
)
20062006
if self._simargs is not None:
@@ -2148,12 +2148,12 @@ def get_solutions(
21482148
continue
21492149

21502150
if var_list is None:
2151-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
2151+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
21522152
else:
21532153
var_list_row = var_list
21542154

21552155
try:
2156-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2156+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
21572157
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
21582158
sol_dict[resultfilename]['msg'] = 'Simulation available'
21592159
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)