Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models with OspModelDescription files and equal model description names cannot be used with fmu-proxy #685

Closed
msteinsto opened this issue Feb 28, 2022 · 1 comment · Fixed by #688

Comments

@msteinsto
Copy link
Contributor

It is currently not possible to use multiple models with equal model description names while using proxy-fmu. OspModelDescription files are required to be located in the same directory as the OspSystemStructure file. Names of the OspModelDescription files are currently set to use the model description name in the file name. Equal file names in the same folder will cause an overwrite and potential description mismatch.

URI with scheme of "file" allows the OspModelDescription file to be located in the same directory as the fmu file. If the OspModelDescription file does not exists in the same folder as the fmu, the OspSystemStructure parent path is checked for any OspModelDescription file.

@msteinsto
Copy link
Contributor Author

PR #688 closes the issue by allowing the OspModelDescription file to be located in the same folder as the fmu file. Similar to for file URI scheme, the path of the fmu is first checked for any OspModelDescription files before checking the parent folder of OspSystemStructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant