File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1613,7 +1613,7 @@ def convertMo2Fmu(
16131613 properties = (f'version="{ version } ", fmuType="{ fmuType } ", '
16141614 f'fileNamePrefix="{ fileNamePrefix } ", includeResources={ includeResourcesStr } ' )
16151615 fmu = self ._requestApi (apiName = 'buildModelFMU' , entity = self ._model_name , properties = properties )
1616- fmu_path = self ._work_dir / fmu
1616+ fmu_path = self ._getconn . omcpath ( fmu )
16171617
16181618 # report proper error message
16191619 if not fmu_path .is_file ():
@@ -1637,7 +1637,7 @@ def convertFmu2Mo(
16371637 fmu_path = pathlib .Path (fmu )
16381638
16391639 filename = self ._requestApi (apiName = 'importFMU' , entity = fmu_path .as_posix ())
1640- filepath = pathlib . Path ( filename )
1640+ filepath = self . _work_dir / filename
16411641
16421642 # report proper error message
16431643 if not filepath .is_file ():
You can’t perform that action at this time.
0 commit comments