-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add 'set_vertical_balance' method to DSheetPilingModel #182
Conversation
…(DSheet)-Add-'set_vertical_balance'-method-to-DSheetPilingModel
Quality Gate passedIssues Measures |
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.
A test is missing to check that after setting the vertical balance properties they are correctly written in the *.shi file.
You can for example improve the existing test "test_run_sheet_model_acceptance_different_calculation_types" by setting the vertical balance properties to values different from the default values.
Hi Virginie, Thanks for reviewing the pull request! I added setting the vertical balance properties to "test_run_sheet_model_acceptance_different_calculation_types" and changed the name of the other test like you suggested. I'd like to hear your view on the 'internal' point. I can process any suggestions. Only somehow the integration tests fail for pydantic v1 python 3.12. The errors occur in code I believe I did not affect. Do you have suggestions for solving this or is this another issue? Kind regards, |
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.
I can't approve this pull request if all the tests are not OK. If you fix the merge conflict with the main, it is possible that all the tests will pass.
Quality Gate passedIssues Measures |
The pydantic issue was fixed and I updated my changes accordingly and resolved the merge conflict that emerged in the meanwhile. Only one check fails, with this error:
|
Quality Gate passedIssues Measures |
Fixes issue
Allows the user to set the parameters needed for checking the vertical balance in D-Sheet Piling.
It might be good to review if my changes are is consistent and correct regarding the following points:
internal.py
I createdVerticalBalance
and inhereted fromDSeriesInlineMappedProperties
.VerticalBalance
inconstructions.py
, since the vertical balance settings belong to the construction, but not to one element or model specifically.test_add_vertical_balance
and gave it the marker unittest.I am happy to receive feedback on my contribution.
Regards,
Daniël Kentrop