-
Notifications
You must be signed in to change notification settings - Fork 35
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
Improve KLayout-based SPICE handling to support Calibre LVS with generic devices #371
Conversation
Additionally, `NoCommentReader` is changed to Calibre output supported reader
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.
Hey @nikosavola - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟡 Testing: 1 issue found
- 🟢 Complexity: all looks good
- 🟢 Docstrings: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
@@ -32,28 +33,26 @@ def spice_netlist(tmpdir_factory) -> str: | |||
return netlist_path | |||
|
|||
|
|||
@pytest.mark.parametrize("fully_connected", [True, False]) | |||
@pytest.mark.skip( |
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.
suggestion (testing): Consider updating test cases to reflect new implementation details.
The test is currently skipped due to the change in implementation that focuses on detected devices. It might be beneficial to update or add new test cases that align with the current implementation, especially considering the handling of generic devices and parameters in CalibreSpiceReader
.
spice_reader_instance = None | ||
match Path(filepath).suffix: | ||
case ".l2n" | ".txt": | ||
l2n = kdb.LayoutToNetlist() |
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.
issue (code-quality): We've found these issues:
- Extract duplicate code into function (
extract-duplicate-method
) - Inline variable that is immediately returned (
inline-immediately-returned-variable
)
1a56d78
to
135162c
Compare
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
for more information, see https://pre-commit.ci
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.
Thank you Niko!
plot_nets