question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use LayerSpec in Component.show()

See original GitHub issue

Is your feature request related to a problem? Please describe. I am not sure how I can permanently overwrite the layer that c.show() puts the port triangles. Currently the default is hard coded to (1, 12).

Describe the solution you’d like I believe it would make sense to change this line to use a string LayerSpec, so that it can be dynamically set by a PDK

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Jan-David-Blackcommented, Jun 6, 2022

Putting it on PORT was actually also my first thought. But I also see your point Troy. I am not sure however how much of a problem it is, specially with show_ports being Falseby default. If you have stuff in the PORT layer without show_portsyou know it is put in permanently. On the other hand one could also put it on SHOW_PORT and allow to coalesce SHOW_PORTand PORT into the same GDS layer, providing fine grain control to PDK owners to keep them separate or merged at will.

0reactions
joamatabcommented, Jun 6, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

PDK — gdsfactory 6.3.5 documentation - GitHub Pages
You can define all the layers from your PDK: ... Lets generate the layers definition code from a klayout lyp file. ... There...
Read more >
Map Layers - Creating New Unfolded Map - Observable
We'll show how to create new local map instance and load data for the displayed map ... and removeDataset() methods for adding and...
Read more >
vega lite - Can you have facets & layers in single Vegalite plot?
I am struggling to understand why a layer spec like the below: ... question: can I have a trellis plot using facet as...
Read more >
The Future of CSS: Cascade Layers (CSS @layer) - Bram.us
Using @import with the layer keyword or layer() function: ... @layer components; @layer default { audio[controls] { display: block; } }.
Read more >
DeepSpeed - Release 0.8.0 Microsoft
Use deepspeed.add_config_arguments() to add DeepSpeed's builtin arguments to ... layer (e.g. (True, 8) shows we quantize the model using 8 groups for all....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found