Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to behaviour of ModelicaSystem class #22

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Improvements to behaviour of ModelicaSystem class #22

wants to merge 4 commits into from

Conversation

adbuerger
Copy link

I think it would be useful to add these changes to OMPython:

1.) When calling getParameters() and if a parameter is a string that is not true or false and cannot be converted to a float, return the string value instead of throwing an error, since the parameter then probably is a string (e. g. a file path)

2.) When calling getSolutions() and no solution is present yet, the undefined function exit() is called, while I think sys.exit() should be called

@sjoelund
Copy link
Member

sjoelund commented May 25, 2017 via email

@adbuerger
Copy link
Author

@sjoelund Thanks for you remark, you are right, I changed it accordingly. I only used sys.exit() since I thought it was the function intended to be called with the previously undefined function exit().

@CLAassistant
Copy link

CLAassistant commented Dec 13, 2017

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to 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.

None yet

3 participants