-
Notifications
You must be signed in to change notification settings - Fork 55
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
Pass the DVname of VSP design variable to vspDV class #156
Conversation
Codecov Report
@@ Coverage Diff @@
## main #156 +/- ##
===========================================
- Coverage 63.90% 53.08% -10.82%
===========================================
Files 47 47
Lines 11757 11757
===========================================
- Hits 7513 6241 -1272
- Misses 4244 5516 +1272
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Can you provide more context here. Was the code broken before? What is wrong with using |
For openvsp, since we don't pass the DV name in |
Is there a reason we couldn't add names to VSP DVs to keep a more consistent API across the different DVGeo types and DV types? The name is already present in as the key in |
I changed it to the default case. Now the DV name is passed to the |
@ArshSaja can you update the PR name and purpose to be consistent with the content |
I updated the PR details. @eirikurj |
Purpose
The DVname in vspDV class was set to None. Thus, when
dv.name
is called, it returnsNone
. This PR fixes this issue.Expected time until merged
Type of change
Testing
Checklist
flake8
andblack
to make sure the Python code adheres to PEP-8 and is consistently formattedfprettify
or C/C++ code withclang-format
as applicable