-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix issue #130 #131
Fix issue #130 #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I think this highlights that the way I did this for constraint was error prone. I think it should be that there is a replace("-", "_") after the simplify, so that we can match any mix of hyphens or underscores.
You do sanitize in the Python layer, i.e. everything gets converted to underscores. Are there situations where the C++ is being called directly? |
Not currently, but it is better to be safe than sorry. There would be an edge case where someone sets this as a map parameter that bypasses the sanitation. |
Signed-off-by: Christopher Woods <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good
This PR closes #130 by allowing the
perturbable_constraint
dynamics option to contain hyphens.devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): [y]Suggested reviewers:
@chryswoods