Gdsfactory

Latest version: v7.26.1

Safety actively analyzes 628924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 42 of 70

3.9.6

- Component.show() writes component in a different tempfile every time. This avoids the `reload` question prompt from klayout.
- update klive to 0.0.7 to keep the same layers active between sessions

3.9.5

- imported cell names get incremented (starting on index = 1) with a `$` (based on Klayout naming convention)
- add test for flatten = True
- raise ValueError if the passed name is already on any CACHE (CACHE_IMPORTED or CACHE)
- avoid duplicate cells decorating import_gds with functools.lru_cache
- show accepts `**kwargs` for write_gds
- simplify decorator in cell (does not change name)

3.9.4

- imported cell names get incremented (starting on index = 0) as we find them also in the CACHE. This avoids duplicated cell names.

3.9.3

- better error messages using f"{component!r}" to get `'component_name'`
- import*gds avoids duplicated cells by checking CACHE_IMPORTED and adding and underscore `*` suffix in case there are some name conflicts.
- add `Component.lock()` and `Component.unlock()` allows you to modify component after adding it into CACHE
- add `gf.geometry.check_duplicated_cells` to check duplicated cells. Thanks to Klayout
- fix `mzi_with_arms`, before it had `delta_length` in both arms

3.9.2

- increase `gf.routing.get_route_electrical` default min_straight_length from 10nm to 2um
- rename text_rectangular to text_rectangular_multi_layer
- rename manhattan_text to text_rectangular

3.9.1

- gf.import_gds updates info based on `kwargs`. In case you want to specify (wavelength, test_protocol...)
- store gf.import_gds name

Page 42 of 70

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.