Skip to content

Commit

Permalink
Merge pull request #305 from yisangriB/master
Browse files Browse the repository at this point in the history
To fix multimodel for quoFEM (when submitting remote run from windows)
  • Loading branch information
fmckenna authored Aug 16, 2024
2 parents a2a67de + 2a2632e commit f8a41d6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions modules/Workflow/MultiModelDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,16 @@ def main(inputFile, driverFile, appKey, registryFile, appDir, runType, osType):
'UTF-8',
)
)
elif osType == 'Windows' and runType == 'runningRemote':
elif runType == 'runningRemote':
with open(driverFile, 'wb') as f: # noqa: PTH123
f.write(
appDir
+ '/applications/Workflow/'
+ exeFileName
+ f' {paramsFileName} {driverFile} {multiModelString}',
'UTF-8',
bytes(
appDir
+ '/applications/Workflow/'
+ exeFileName
+ f' {paramsFileName} {driverFile} {multiModelString}',
'UTF-8',
)
)
else:
with open(driverFile, 'wb') as f: # noqa: PTH123
Expand Down

0 comments on commit f8a41d6

Please sign in to comment.