You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write now we have created wrapper functions for each OMC API. It very difficult to keep track of API changes. OMPython is not directly linked with OMC so it is not possible to generate these wrapper functions automatically.
I suggest we remove these wrapper functions and clean up the code. The user can still call OMC API using sendExpression.
The text was updated successfully, but these errors were encountered:
PR #282 prepares this; it removes all dependencies on OMCSessionBase - currently it keeps the code alive as OMCSessionCmd but if needed, this part can be removed
I have no feelings regarding this as I do not use the interface provided here ...
The main point to keep it would be that besides 4 function it is quite simple code now. The functions are:
getClassComment() - pyparsing.ParseException should be handled in sendExpression()
getParameterNames() - additional check for KeyError needed?
getParameterValue() - pyparsing.ParseException should be handled in sendExpression()
Write now we have created wrapper functions for each OMC API. It very difficult to keep track of API changes. OMPython is not directly linked with OMC so it is not possible to generate these wrapper functions automatically.
I suggest we remove these wrapper functions and clean up the code. The user can still call OMC API using
sendExpression
.The text was updated successfully, but these errors were encountered: