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

udpdate to kfactory09 #21

Merged
merged 2 commits into from
Oct 5, 2023
Merged

udpdate to kfactory09 #21

merged 2 commits into from
Oct 5, 2023

Conversation

joamatab
Copy link
Contributor

@joamatab joamatab commented Oct 4, 2023

Trying to update to latest kfactory 0.9.0

needs some fixing

@SkandanC
@sebastian-goeldi

@@ -26,7 +26,7 @@ def bend_circular(
width: Width of the core. [um]
radius: Radius of the backbone. [um]
layer: Layer index of the target layer.
enclosure: :py:class:`kfactory.utils.Enclosure` object to describe the
enclosure: :py:class:`kfactory.enclosure` object to describe the
Copy link

@sebastian-goeldi sebastian-goeldi Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be kfactory.enclosure.KCellEnclosure or kfactory.enclosure.LayerEnclosure

from kgeneric.tech import TECH

cells_dict = get_cells([gpdk])
pdk = Pdk(name="generic", cell_factories=cells_dict, layers=LAYER)
kf.kcl.cells = cells

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn´t exist anymore. This should be factories, and you need to make sure they are using the right KCLayout object to instantiate

@joamatab joamatab merged commit ad499c6 into main Oct 5, 2023
2 of 6 checks passed
@joamatab joamatab deleted the kfactory09 branch October 5, 2023 12:41
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 this pull request may close these issues.

2 participants