Hi, is there any reason I'm getting this error? I ...
# ieee-sscs-dc-24
a
Hi, is there any reason I'm getting this error? I was going to reinstall but I want to make sure there's no silly error I'm making in the actual code or maybe just running the file incorrectly.
s
from glayout.flow.pdk.mappedpdk import MappedPDK
a
looks like the command runs but no file is opened in klayout. I tried checking using file > open and it seems like it's in the directory where my python file is.
message has been deleted
s
Do you have code written to display the component?
Its not enough to have a function that makes the component, you have to call it too
a
this is the full file. I thought the .show() command would do that, but it seems like they use .write_gds(). Should I use that instead?
s
oh, you indented the show and instantiation lines ๐Ÿ˜„
unindent those two lines, scope is determined by whitespace in python
a
yeah that's embarrassing. My bad ๐Ÿ˜ญ
it worked btw, thanks a lot!
๐Ÿ‘ 1
๐Ÿ™Œ 1