Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMPython Improvements

OMPython Improvements

I have added various improvements to OMPython. The improvements are helpful for automatic testing/analysis using OMPython as demonstrated in the OpenFDM project.


    * I moved the main shell interface into OMShell, which makes it more friendly to use.
    * I added error checking to the execute command. The execute command can handle multiple line statements with error handling on each.
    * The run_script command just calls runScript. I do a regex to look for fail or error on the string that is returned. I tried to do individual script line parsing, but it was too much work for now.


Hope this is helpful to someone else.

https://github.com/arktools/openfdm/tre … n/OMPython

There are 0 guests and 0 other users also viewing this topic
You are here: