Uh oh!
There was an error while loading. Please reload this page.
Parser - #270
Conversation
* fix ex.message => ex.msg
* fix ex.message => ex.msg
The output of `getComponentModifierValue` is changed so we don't need to strip the result. And the output of `getExtendsModifierValue` is changed in OpenModelica/OpenModelica#13533 Removed `_ask_with_fallback` and moved the fallback code to `sendExpression`
@syntron I removed I think we should also remove all the APIs and |
syntron
commented
Apr 30, 2025
@adeas31 I just added all the commits I prepared for OMCSession.py (see PR #275). It further simplifies OMCSessionBase such that is an independend class which can be used to query OMC based on a session (= OMCSessionZMQ). As side effect, this class could later be removed - however, at the moment it is as simple as possible and - thus - perhaps still useful. Some small additional cleanups:
|
syntron
commented
Apr 30, 2025
just noted: this now includes PR #272 ... if needed I can split this put again ... |
d96bc10 to
0be8325Compareadeas31
commented
May 1, 2025
Lets keep the PRs simple. Adding small chunks of code is better than adding huge block of code. Please split and make several PRs if possible. |
syntron
commented
May 2, 2025
I restored the state of this PR before my change - the modified parser branch is kept in my fork as parserOLD and as PR #280, #281 and #282 |
There are two parsers for OM return values which are used in OMCSessionBase. This PR tries to clean up their usage - use only a single entry point for each - and add some additional cleanup: