Skip to content

Commit 64334f9

Browse files
committed
[ModelicaSystemDoE] fix for relative paths
1 parent aec8ae2 commit 64334f9

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
@@ -1998,7 +1998,7 @@ def __init__(
19981998
if resultpath is None:
19991999
self._resultpath = self.get_session().omcpath_tempdir()
20002000
else:
2001-
self._resultpath = self.get_session().omcpath(resultpath)
2001+
self._resultpath = self.get_session().omcpath(resultpath).resolve()
20022002
if not self._resultpath.is_dir():
20032003
raise ModelicaSystemError("Argument resultpath must be set to a valid path within the environment used "
20042004
f"for the OpenModelica session: {resultpath}!")

0 commit comments

Comments
 (0)