Skip to content

[ModelicaSystem] do NOT store data in the class workspace - #252

Merged
adeas31 merged 3 commits into
OpenModelica:masterfrom
syntron:fix_xmlparse
Apr 23, 2025
Merged

[ModelicaSystem] do NOT store data in the class workspace#252
adeas31 merged 3 commits into
OpenModelica:masterfrom
syntron:fix_xmlparse

Conversation

@syntron

@syntron syntron commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

do NOT store data in the class workspace

self.tree and self.root at set by xmlparse() but not used elsewhere

@adeas31

adeas31 commented Apr 17, 2025

Copy link
Copy Markdown
Member

Please also remove line 649 self.tree = None from ModelicaSystem constructor.
And rebase the PR.

@syntron

syntron commented Apr 17, 2025

Copy link
Copy Markdown
Contributor Author

Please also remove line 649 self.tree = None from ModelicaSystem constructor. And rebase the PR.

Modified & rebased

@ondras12345

Copy link
Copy Markdown
Contributor

It might be a good idea to merge this after #249. It should be trivial to rebase this onto 249, but it might be harder to rebase 249 onto this...

@adeas31
adeas31 enabled auto-merge (squash) April 23, 2025 14:11
@adeas31
adeas31 merged commit f838239 into OpenModelica:master Apr 23, 2025
@syntron
syntron deleted the fix_xmlparse branch May 19, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants