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
Fix flatten refs recursive #1258
Conversation
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 1.40%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Codecov Report
@@ Coverage Diff @@
## main #1258 +/- ##
==========================================
+ Coverage 68.75% 69.22% +0.46%
==========================================
Files 356 356
Lines 21150 21177 +27
Branches 3038 3044 +6
==========================================
+ Hits 14542 14659 +117
+ Misses 5752 5633 -119
- Partials 856 885 +29
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thank you Troy! |
just released v6.36.0 |
Fix flatten refs recursive Former-commit-id: 085241c
Fix flatten refs recursive Former-commit-id: 0d151cc [formerly de9ae78 [formerly fe16a3a421d04cd2d74f9f769de5c1953bd0eb45] [formerly 69a4136 [formerly 085241c]]] Former-commit-id: 69a4136 Former-commit-id: b1c9a5869283e28900ea90242738bf5d2d08530d [formerly da31440] Former-commit-id: abeef4532b3e574d86409894c8ccaca1fcaf2eac
I noticed a bug in the new
flatten_invalid_refs_recursive
function which caused some refs to drop. While debugging, I realized there is also a bug in the setter of ComponentReference.parent
and alsoref_cell
, that the actual gdstk cell does not update when you set it to something new. This MR fixes both of those issues.