We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98f374f commit 2915740Copy full SHA for 2915740
1 file changed
OMPython/ModelicaSystem.py
@@ -1156,9 +1156,9 @@ def getSolutions(
1156
else:
1157
result_file = self._getconn.omcpath(resultfile)
1158
1159
- # check for result file exits
+ # check if the result file exits
1160
if not result_file.is_file():
1161
- raise ModelicaSystemError(f"Result file does not exist {result_file}")
+ raise ModelicaSystemError(f"Result file does not exist {result_file.as_posix()}")
1162
1163
# get absolute path
1164
result_file = result_file.absolute()
0 commit comments