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

Refactor loadSnapshot #943

Merged
merged 3 commits into from
Feb 12, 2021
Merged

Refactor loadSnapshot #943

merged 3 commits into from
Feb 12, 2021

Conversation

lochel
Copy link
Member

@lochel lochel commented Feb 11, 2021

Purpose

This requires the xml snapshot only once to be parsed.
It also provides a cleaner separation between the Scope and Model class.

@arun3688 I changed the version check from a warning to an error. But I think we had it intentionally as warning. Do you remember it?

@arun3688
Copy link
Contributor

@lochel as far i remember fmigo had a different draft versions in their SSP's eg. Draft20170606 see. https://github.com/fmi-tools/FMIGo/blob/master/tools/ssp/examples/parameters-inline/SystemStructure.ssd.

@lochel
Copy link
Member Author

lochel commented Feb 11, 2021

I think we shouldn't try to import version which do do not support.

@lochel lochel merged commit 2fdc09f into OpenModelica:master Feb 12, 2021
@lochel lochel deleted the snapshot branch February 12, 2021 08:26
@lochel lochel restored the snapshot branch February 12, 2021 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants