We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb466d commit 07349a0Copy full SHA for 07349a0
1 file changed
OMPython/ModelicaSystem.py
@@ -1698,7 +1698,7 @@ def convertFmu2Mo(
1698
raise ModelicaSystemError(f"Missing FMU file: {fmu_path.as_posix()}")
1699
1700
filename = self._requestApi(apiName='importFMU', entity=fmu_path.as_posix())
1701
- filepath = self._session.omcpath(filename)
+ filepath = self.getWorkDirectory() / filename
1702
1703
# report proper error message
1704
if not filepath.is_file():
0 commit comments