Skip to content

Commit ff3caf9

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent 0222d6b commit ff3caf9

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

19861986
mscmd = mod_structure.simulate_cmd(
1987-
resultfile=resultfile.absolute().resolve(),
1987+
result_file=resultfile.absolute().resolve(),
19881988
timeout=self._timeout,
19891989
)
19901990
if self._simargs is not None:
@@ -2132,12 +2132,12 @@ def get_solutions(
21322132
continue
21332133

21342134
if var_list is None:
2135-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
2135+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
21362136
else:
21372137
var_list_row = var_list
21382138

21392139
try:
2140-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
2140+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
21412141
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
21422142
sol_dict[resultfilename]['msg'] = 'Simulation available'
21432143
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)