File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1605,7 +1605,7 @@ def convertMo2Fmu(
16051605 properties = (f'version="{ version } ", fmuType="{ fmuType } ", '
16061606 f'fileNamePrefix="{ fileNamePrefix } ", includeResources={ includeResourcesStr } ' )
16071607 fmu = self ._requestApi (apiName = 'buildModelFMU' , entity = self ._model_name , properties = properties )
1608- fmu_path = self ._work_dir / fmu
1608+ fmu_path = self ._getconn . omcpath ( fmu )
16091609
16101610 # report proper error message
16111611 if not fmu_path .is_file ():
@@ -1629,7 +1629,7 @@ def convertFmu2Mo(
16291629 fmu_path = pathlib .Path (fmu )
16301630
16311631 filename = self ._requestApi (apiName = 'importFMU' , entity = fmu_path .as_posix ())
1632- filepath = pathlib . Path ( filename )
1632+ filepath = self . _work_dir / filename
16331633
16341634 # report proper error message
16351635 if not filepath .is_file ():
You can’t perform that action at this time.
0 commit comments