-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
hi @jonnyroth yes, as you note in the comments of your example, there seems to be an issue with the serialization of the parameters for i identified the issue and will submit a PR for it, but if you are in the middle of something and want to continue using the current version of gdsfactory you are pinned to, I would simply remove the decorator for that function. assuming you are only using it like you are using it within this example, it should be safe to do so, as you are re-returning and decorating it as a cell anyways within another function |
Beta Was this translation helpful? Give feedback.
hi @jonnyroth
yes, as you note in the comments of your example, there seems to be an issue with the serialization of the parameters for
component_from_sliced_section
. more specifically, it seems to be an issue with serialization ofgdstk.Polygon
objects as parameters. if you remove thecell
decorator from that function, everything seems to work fine.i identified the issue and will submit a PR for it, but if you are in the middle of something and want to continue using the current version of gdsfactory you are pinned to, I would simply remove the decorator for that function. assuming you are only using it like you are using it within this example, it should be safe to do so, as you are re…