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

Collision ModelParameters improvements #290

Merged
merged 4 commits into from
Oct 7, 2024
Merged

Conversation

niemilau
Copy link
Collaborator

@niemilau niemilau commented Oct 7, 2024

Small PR that adds a few convenience functions to ModelParameters and renames functions (keeping but deprecating the old ones). Added pytests for ModelParameters. Minor code cleanup.

Did not change names in Python WallGo models since the old ones still work, and I want to keep this PR minimal. But in the future, prefer ModelParameters.add() instead of the verbose addOrModifyParameter(). Docstrings should make it clear what the preferred function is.

@niemilau niemilau added the enhancement New feature or request label Oct 7, 2024
@niemilau niemilau self-assigned this Oct 7, 2024
@niemilau
Copy link
Collaborator Author

niemilau commented Oct 7, 2024

I'm merging this right away so that we can start moving the collision stuff to a separate repo.

@niemilau niemilau merged commit d534e84 into main Oct 7, 2024
1 check passed
@niemilau niemilau deleted the CollisionParamsCleanup branch October 8, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant