Skip to content
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

New sort ports #2788

Merged
merged 15 commits into from
May 26, 2024
Merged

New sort ports #2788

merged 15 commits into from
May 26, 2024

Conversation

joamatab
Copy link
Contributor

use sort ports from kfactory

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a 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.



def test_route_bundle_obstacle(
data_regression: DataRegressionFixture, check: bool = True
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (code-quality): We've found these issues:

@joamatab joamatab added enhancement New feature or request routing labels May 26, 2024
@@ -736,14 +736,14 @@ def plot_netlist(
)
return G

def over_under(self, layer: LayerSpec, distance: float = 1.0) -> None:
def over_under(self, layer: LayerSpec, distance: int = 1) -> None:
"""Flattens and performs over-under on a layer in the Component.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really need to flatten? I think this makes it strictly bigger, so theoretically it shouldn't be necessary to flatten. But maybe a flag? Otherwise, sure flattening works.

@joamatab joamatab merged commit 73e70c7 into main May 26, 2024
6 of 14 checks passed
@joamatab joamatab deleted the new_sort_ports branch May 26, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request routing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants