Closed joamatab closed 4 days ago
🧙 Sourcery has finished reviewing your pull request!
Label error. Requires at least 1 of: breaking, bug, github_actions, documentation, dependencies, enhancement, feature, maintenance, security. Found:
I think this is not really advisable. This could create duplicate names, and it would be very much not obvious why or where that happens. What's the motivation for this?
It will still be shortened on writing.
As well as this doesn't catch
c.name = ...
Plus what do you do when you change the max_cellname_length during runtime? (I know sounds stupid but could happen with how gdsfactory currently handles pdks)
i agree with @sebastian-goeldi ... let the @cell
decorator and/or save_layout_options
take care of it...
fixes https://github.com/gdsfactory/gdsfactory/issues/2907