Closed gdspaul closed 1 month ago
Hi Paul.
Thanks for the bug report. I believe I know what the issue is (I wrote this v1/v2 switch after migrating to v2 and only noticed later that there might be new gds file which can't be loaded again due to there being no way to indicate that we want to load an old format, so I likely really just forgot to make the proper switch in the loader)
I'll write a fix for it and ping you if I either implemented it or I need the old gds ^^
Not sure if this is user error but I'll jot it down. I'm loading a GDS file with v1 metadata in kfactory 0.13.3, like this:
(Sebastian, I can send you the GDS if you like; it was written with kfactory 0.9.3.)
When I get down to
l[cell.name]
it will crash because somewhere inside there is a Trans being passed around as a string instead of as a Trans object. Around line 1839 ofkcell.py
, I can make the error go away:and I believe this has to be corrected in 4 places in the module to cover all the bases (not sure).
Here's the stack trace I get.