Skip to content

(G003) improve compatibility - #450

Open
syntron wants to merge 6 commits into
OpenModelica:masterfrom
syntron:G003-compatibility
Open

(G003) improve compatibility#450
syntron wants to merge 6 commits into
OpenModelica:masterfrom
syntron:G003-compatibility

Conversation

@syntron

Copy link
Copy Markdown
Contributor

[compatibility] add class wrapper to provide the depreciation message
[ModelicaSystem] fix / improve wrapper functions for v4.0.0 compatibility
[ModelicaSystemABC] additional checks for setInputs()
[test_ModelicaSystemOMC] add tests for setInputs()
[init] define ModelicaSystemDoE at the right point (=> compatibility layer)
[init] remove duplicate 'OMCSessionABC' in all

[README.md] small updates
[__init__] small updates
* ModelExecutionData => ModelExecutionRun
* ModelExecutionCmd => ModelExecutionConfig
[pylint] fix 'R1729: Use a generator instead 'all(isinstance(item, tuple) for item in val_evaluated)' (use-a-generator)'
[pylint] fix 'W0237: Parameter 'expr' has been renamed to 'command' in overriding 'OMCSessionZMQ.sendExpression' method (arguments-renamed)'
[pylint] [OM*Path*] fix pylint messags about incompatible definitions
[ModelExecutionException] catch exception if ModelExecutionCmd.run() is used
[bugfix] [ModelicaSystem] fix exception; use ModelicaSystemError (instead of wrong ModelExecutionException)
[bugfix] [ModelicaSystemABC] fix _prepare_input_data() - ensure returned data is dict[str, str]
[compatibility] add class wrapper to provide the depreciation message
[ModelicaSystem] fix / improve wrapper functions for v4.0.0 compatibility
[ModelicaSystemABC] additional checks for setInputs()
[test_ModelicaSystemOMC] add tests for setInputs()
[__init__] define ModelicaSystemDoE at the right point (=> compatibility layer)
[__init__] remove duplicate 'OMCSessionABC' in __all__
@syntron
syntronforce-pushed the G003-compatibility branch from 958b106 to 40538ecCompareJune 30, 2026 19:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@syntron