Skip to content

Commit c9670c2

Browse files
committed
[ModelicaSystemDoE] fix for relative paths
1 parent 8c5318a commit c9670c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ def __init__(
21182118
if resultpath is None:
21192119
self._resultpath = self.get_session().omcpath_tempdir()
21202120
else:
2121-
self._resultpath = self.get_session().omcpath(resultpath)
2121+
self._resultpath = self.get_session().omcpath(resultpath).resolve()
21222122
if not self._resultpath.is_dir():
21232123
raise ModelicaSystemError("Argument resultpath must be set to a valid path within the environment used "
21242124
f"for the OpenModelica session: {resultpath}!")

0 commit comments

Comments
 (0)