-
Notifications
You must be signed in to change notification settings - Fork 16
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 setter for kcl, there should be no setter #611
Conversation
Reviewer's Guide by SourceryThis pull request removes the setter for the kcl property and refactors several internal variable names and logic in related methods. The changes improve code clarity, eliminate unnecessary setters, and adjust the internal handling of cell metadata and transformation functionalities. Updated Class Diagram for KCell and TKCellclassDiagram
class KCell {
+KCLayout kcl()
+__repr__()
+convert_to_static()
+transform(trans)
+ports: DPorts
-_base: TKCell
}
class TKCell {
+KCLayout kcl
+Info info
+KCellSettings settings
+kdb_cell: KDB_Cell
+ports
+vinsts: VInstances
}
KCell --> TKCell : contains
%% Note: The setter for the kcl property has been removed for both KCell and TKCell context.
Updated Class Diagram for GeometricObjectclassDiagram
class GeometricObject {
<<abstract>>
+KCLayout kcl()
+bbox(layer: int | None): BoxLike
}
%% Note: The setter for the kcl property has been removed from GeometricObject.
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #611 +/- ##
==========================================
- Coverage 65.79% 65.76% -0.04%
==========================================
Files 64 64
Lines 9694 9691 -3
Branches 1802 1802
==========================================
- Hits 6378 6373 -5
Misses 2793 2793
- Partials 523 525 +2 ☔ View full report in Codecov by Sentry. |
Summary by Sourcery
Remove the setter for the
kcl
property ofKCell
andGeometricObject
. Update variable names for clarity.