Skip to content

Commit e351fb6

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent 36202ac commit e351fb6

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

18481848
mscmd = mod_structure.simulate_cmd(
1849-
resultfile=resultfile.absolute().resolve(),
1849+
result_file=resultfile.absolute().resolve(),
18501850
timeout=self._timeout,
18511851
)
18521852
if self._simargs is not None:
@@ -1994,12 +1994,12 @@ def get_solutions(
19941994
continue
19951995

19961996
if var_list is None:
1997-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
1997+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
19981998
else:
19991999
var_list_row = var_list
20002000

20012001
try:
2002-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2002+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
20032003
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
20042004
sol_dict[resultfilename]['msg'] = 'Simulation available'
20052005
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)