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

Warning messages when loading antcient gds #472

Closed
josepfargas opened this issue Sep 13, 2024 · 1 comment · Fixed by #477
Closed

Warning messages when loading antcient gds #472

josepfargas opened this issue Sep 13, 2024 · 1 comment · Fixed by #477

Comments

@josepfargas
Copy link

Describe the bug
I have some gds from an ancient version of kf (0.8.2) that I want to load into the newest kf version.
I remove all the meta data from the initial gds and flatten, so it should load just fine. However, when I load the gds into a cell I get an AssertionError warning.

Here a sample gds to reproduce the error:

sample_gds_from_ancient_kfaCtory_exAmple.zip

To Reproduce
Steps to reproduce the behavior:
kf.kcell.kcls['MYPDK'].read((./sample_gds_from_ancient_kfaCtory_exAmple.gds").resolve())

Warning: AssertionError: AssertionError
C:---\venv\Lib\site-packages\kfactory\kcell.py:8575
Warning: AssertionError: AssertionError
C:---\venv\Lib\site-packages\kfactory\kcell.py:8575
Warning: AssertionError: AssertionError
C:---\venv\Lib\site-packages\kfactory\kcell.py:8575
Warning: AssertionError: AssertionError
C:---\venv\Lib\site-packages\kfactory\kcell.py:8575
Warning: AssertionError: AssertionError
C:---\venv\Lib\site-packages\kfactory\kcell.py:8575

@sebastian-goeldi
Copy link
Collaborator

sebastian-goeldi commented Sep 14, 2024

Hmm, yeah, I see why this is happening. Essentially it's because your MYPDK sets some meta infos which aren't present in the to be loaded layout. I think I should just remove the checks on layout level. They don't make that much sense.

On the other hand the interesting part is that KLayout converts an error to a warning, which imo shouldn't happen.

For your case this shouldn't impact functionality though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants