Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A Python PCell declaration with a parameter named "layer" breaks "Convert Shape To PCell" #75
Whenever such a PCell is installed, "Convert Shape To PCell" will result in an error message of this kind:
Reason: in the helper function "PCellDeclarationHelper#can_create_from_shape_impl", "layer", "shape" and "layout" are used as temporary attributes to simplify the implementation of this method. If a parameter with the same name exists, the parameter is set instead of the temporary attribute. This parameter is not defined, hence this error.
Bad news is that this will break "can_create_from_shape_impl" for all other PCell implementations.