-
Notifications
You must be signed in to change notification settings - Fork 327
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
Remove tropter test cases and make sure all tests pass with casadi #3988
base: main
Are you sure you want to change the base?
Conversation
Hey @aymanhab, I just noticed you started working on this. I think I misunderstood your message from last week; I was under the impression that you were going to disable the test suite for tropter when building the conda packages, and not remove them directly here. I was hoping to address all the tropter changes at once (i.e., remove the tropter libraries and the tests together). I'm a bit hesitant to gut out the tests while the tropter solver still exists as an option. Is there a way to build the conda packages without tropter for now (i.e., by setting the |
No problem @nickbianco I actually have a conda package without tropter using the cmake option already (https://anaconda.org/opensim_admin/opensim/files) |
remove tropter dependency in ci
@nickbianco I went ahead and removed references to tropter from the build system and ci, and the last remaining piece is that some python tests in test_moco.py are failing because they were using tropter without checking if available
When you have a chance let me know if I should remove some/all of these tests that use tropter or convert to casadi Thank you |
@aymanhab it would be best to keep those tests and convert them all to use Were you planning on removing the tropter libraries as part of this PR too? |
@nickbianco My plan was to make the build/install/test all work first and removed from the make system on this branch and then remove the folders (in case something comes up that force a backtrack) but it can go in any order. Do you expect any results to change when swapping the solvers? |
That sounds like a good plan. Theoretically, the tests should pass with either solver, but it's possible that differences in each implementation could lead to different numerical results. I'm happy to debug any such cases that arise. We will also need to eventually remove Tropter from all of the tests under the Moco test folder. |
@nickbianco I'll pass this on to you to do the internal cleanup of the Moco tests. The python test cases pass on linux but not on windows or osx though the failures are for reasons unrelated to this PR as far as I can tell. Just let me know if you want me to investigate these failures. Thank you. |
Sure @aymanhab. I'll pick this up starting next week. |
Thanks @nickbianco 👍 |
Fixes issue #<issue_number>
Brief summary of changes
Testing I've completed
Looking for feedback on...
CHANGELOG.md (choose one)
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)