Fixed abs2prom and variable names to support OpenMDAO 3.39#76
Fixed abs2prom and variable names to support OpenMDAO 3.39#76kanekosh merged 25 commits intomdolab:mainfrom
Conversation
|
Hey @davidszt2, thanks for getting the ball rolling on this. Turns out the information that was in |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #76 +/- ##
==========================================
- Coverage 82.06% 82.04% -0.02%
==========================================
Files 103 103
Lines 10715 10724 +9
==========================================
+ Hits 8793 8799 +6
- Misses 1922 1925 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I found the change causing the current test failures, some changes in OpenMDAO 3.40 mean that the integrator subsystem that the |
Aha - I must've missed that attribute back then! Cool to see this is being worked on. Thanks for the awesome work you guys do as always! |
|
@kanekosh , let's leave the I can't figure out why, but the remaining failing tests are being caused by this commit, it may actually be more of an issue with our unit test than with OpenMDAO itself |
Tests were failing because OM dropped supporting hybrid promoted variable names in 3.39 (OpenMDAO/OpenMDAO#3512) but some of our tests were using these. I fixed variable names so this should fix the tests |
With this PR OpenConcept works with OpenMDAO 3.39, but 3.40 is still not supported yet. Closes #74
@kanekosh As per issue #74 here is a work in progress for the OpenMDAO 3.39.0 compatibility issue.
I've put together a quick fix that is working for the minimal.py example. This is an attempt to reconstruct the _var_abs2prom attribute from _var_abs2meta (instead of choosing a completely new approach for automatic linkage).
This solution is very hacky and is failing the examples with user-defined integrators, but pushing this for the idea. Will keep working on this in my free time and let you know if I find any better/more robust solutions!