We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d808984 commit 3694047Copy full SHA for 3694047
1 file changed
OMPython/ModelicaSystem.py
@@ -1670,7 +1670,7 @@ def convertFmu2Mo(
1670
raise ModelicaSystemError(f"Missing FMU file: {fmu_path.as_posix()}")
1671
1672
filename = self._requestApi(apiName='importFMU', entity=fmu_path.as_posix())
1673
- filepath = self._session.omcpath(filename)
+ filepath = self.getWorkDirectory() / filename
1674
1675
# report proper error message
1676
if not filepath.is_file():
0 commit comments