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

better serialization #5

Merged
merged 1 commit into from
May 29, 2024
Merged

better serialization #5

merged 1 commit into from
May 29, 2024

Conversation

joamatab
Copy link
Contributor

@joamatab joamatab commented May 29, 2024

  • drop None from get_netlist. This avoids a lot of warnings in sax

@flaport

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.

@joamatab joamatab added the bug Something isn't working label May 29, 2024
@joamatab joamatab merged commit bbdd0a9 into main May 29, 2024
6 of 14 checks passed
@thomaslima
Copy link
Contributor

@joamatab @tvt173 Is this a permanent change? It messed with my tests - and I'd rather record the null arguments in the settings dictionary.

@tvt173
Copy link
Contributor

tvt173 commented Aug 22, 2024

hi @thomaslima , it seems to persist in gdsfactory8
https://github.com/gdsfactory/gdsfactory/blob/b652fde4b09203d3b0d92cada2809f14c3dd6e35/gdsfactory/get_netlist.py#L195

however, i'm not fully aware of the details on why this change was made, other than what is stated in this issue. we used to have an option in this function to let you toggle that behavior (record full settings vs. only non-default).
@joamatab @flaport what are your thoughts on this?

@joamatab
Copy link
Contributor Author

this change is required when netlisting components that have references that are not registered in the PDK

I found 3 ways of fixing this:

  • flatten imported GDS (slow and big sizes)
  • extract full GDS subcells and register them in PDK (complex)
  • Ignore those components from netlist extraction

We did a similar PR on gdsfactory8 recently

@nikosavola
@sebastian-goeldi

@thomaslima
Copy link
Contributor

thomaslima commented Aug 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants