Skip to content

Commit

Permalink
Merge pull request #432 from gdsfactory/update_gdsfactory9
Browse files Browse the repository at this point in the history
update_gdsfactory9
  • Loading branch information
joamatab authored Feb 20, 2025
2 parents 5727179 + 5ff1ef0 commit 2a3ff56
Show file tree
Hide file tree
Showing 110 changed files with 4,029 additions and 3,681 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ install:
pip install -e .[dev,docs]
python install_tech.py

dev: install
pre-commit install
dev:
uv venv -p 3.12
uv sync --all-extras
uv run pre-commit install

update-pre:
pre-commit autoupdate
Expand All @@ -14,6 +16,9 @@ tech:
test:
pytest -s

uv-test:
uv run pytest -s

cov:
pytest --cov=ubcpdk

Expand Down
19 changes: 5 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,31 @@ build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]

[project]
authors = [
{name = "gdsfactory", email = "contact@gdsfactory.com"}
]
authors = [{name = "gdsfactory", email = "contact@gdsfactory.com"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent"
]
dependencies = [
"gdsfactory~=8.18.0",
"gplugins[sax]>=1,<2"
]
dependencies = ["gdsfactory~=9.0.0", "gplugins[sax,tidy3d]~=1.3.0", "jsondiff"]
description = "ubcpdk pdk"
keywords = ["python"]
license = {file = "LICENSE"}
name = "ubcpdk"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11,<3.13"
version = "2.7.0"

[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest_regressions",
"pytest-github-actions-annotate-failures",
"pre-commit"
]
docs = [
"autodoc_pydantic",
"jupytext",
"jupyter-book==1.0.3"
]
docs = ["autodoc_pydantic", "jupytext", "jupyter-book==1.0.3"]

[tool.codespell]
ignore-words-list = "te, te/tm, te, ba, fpr, fpr_spacing, ro, nd, donot, schem"
Expand Down
Binary file added tests/ref/bend_s_bend_s_S11_1p8_N_390cd0af.gds
Binary file not shown.
Binary file added tests/ref/coupler90_coupler90_G0p_591568bb.gds
Binary file not shown.
Binary file removed tests/ref/coupler90_coupler90_G0p_fff69144.gds
Binary file not shown.
Binary file added tests/ref/coupler_coupler_G0p236__a8bdff39.gds
Binary file not shown.
Binary file modified tests/ref/dbr_cavity_te_dbr_cavit_edb4408e.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1310.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1310_8deg.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1310_broadband.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1550.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1550_90nmSlab.gds
Binary file not shown.
Binary file modified tests/ref/gc_te1550_broadband.gds
Binary file not shown.
Binary file modified tests/ref/gc_tm1550.gds
Binary file not shown.
Binary file removed tests/ref/pad_array_pad_array_PFp_32374610.gds
Binary file not shown.
Binary file added tests/ref/pad_array_pad_array_PFp_5efb8756.gds
Binary file not shown.
Binary file removed tests/ref/pad_array_pad_array_PFp_79afac5b.gds
Binary file not shown.
Binary file removed tests/ref/pad_pad_S75_75_LM2_ROUT_460772fd.gds
Binary file not shown.
Binary file added tests/ref/pad_pad_S75_75_LM2_ROUT_a24a937f.gds
Binary file not shown.
Binary file removed tests/ref/pad_pad_S75_75_LM2_ROUT_e620d652.gds
Binary file not shown.
Binary file modified tests/ref/ring_double_heater_ring_6237d469.gds
Binary file not shown.
Binary file modified tests/ref/ring_double_heater_ring_8b1aafcc.gds
Binary file not shown.
Binary file modified tests/ref/ring_double_ring_double_267a3e9c.gds
Binary file not shown.
Binary file modified tests/ref/ring_single_dut_ring_si_219403cd.gds
Binary file not shown.
Binary file modified tests/ref/ring_single_ring_single_82ff2bc7.gds
Binary file not shown.
Binary file added tests/ref/straight_straight_L10_N_ecd66c66.gds
Binary file not shown.
Binary file added tests/ref/taper_taper_L10_W0p5_WN_5cc09a85.gds
Binary file not shown.
14 changes: 0 additions & 14 deletions tests/test_components/test_pdk_settings_SEM_example_.yml

This file was deleted.

17 changes: 0 additions & 17 deletions tests/test_components/test_pdk_settings_add_fiber_array_.yml

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions tests/test_components/test_pdk_settings_add_pads_.yml

This file was deleted.

4 changes: 0 additions & 4 deletions tests/test_components/test_pdk_settings_add_pads_bot_.yml

This file was deleted.

44 changes: 0 additions & 44 deletions tests/test_components/test_pdk_settings_add_pads_dc_.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/test_components/test_pdk_settings_add_pads_rf_.yml

This file was deleted.

4 changes: 0 additions & 4 deletions tests/test_components/test_pdk_settings_add_pads_top_.yml

This file was deleted.

4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_bend_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ info:
route_info_length: 16.637
route_info_min_bend_radius: 7.061
route_info_n_bend_90: 1
route_info_type: xs_c8b8e980
route_info_strip_length: 16.637
route_info_type: strip
route_info_weight: 16.637
route_info_xs_c8b8e980_length: 16.637
width: 0.5
name: bend_euler_CSstrip
settings:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_bend_euler180_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ info:
route_info_length: 42.817
route_info_min_bend_radius: 9.086
route_info_n_bend_90: 2
route_info_type: xs_c8b8e980
route_info_strip_length: 42.817
route_info_type: strip
route_info_weight: 42.817
route_info_xs_c8b8e980_length: 42.817
width: 0.5
name: bend_euler_CSstrip_A180
settings:
Expand Down
14 changes: 0 additions & 14 deletions tests/test_components/test_pdk_settings_bend_euler180_sc_.yml

This file was deleted.

4 changes: 2 additions & 2 deletions tests/test_components/test_pdk_settings_bend_euler_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ info:
route_info_length: 16.637
route_info_min_bend_radius: 7.061
route_info_n_bend_90: 1
route_info_type: xs_c8b8e980
route_info_strip_length: 16.637
route_info_type: strip
route_info_weight: 16.637
route_info_xs_c8b8e980_length: 16.637
width: 0.5
name: bend_euler_CSstrip
settings:
Expand Down
13 changes: 0 additions & 13 deletions tests/test_components/test_pdk_settings_bend_euler_sc_.yml

This file was deleted.

8 changes: 4 additions & 4 deletions tests/test_components/test_pdk_settings_bend_s_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ info:
route_info_length: 11.206
route_info_min_bend_radius: 13.012
route_info_n_bend_s: 1
route_info_type: xs_38f6dd83
route_info_strip_length: 11.206
route_info_type: strip
route_info_weight: 11.206
route_info_xs_38f6dd83_length: 11.206
start_angle: 0
name: bend_s_S11_1p8_N99_CSxs_9d1e6395
name: bend_s_S11_1p8_N99_CSst_71d8cbbd
settings:
allow_min_radius_violation: false
cross_section: xs_sc
cross_section: strip
npoints: 99
size:
- 11
Expand Down
45 changes: 0 additions & 45 deletions tests/test_components/test_pdk_settings_bend_with_pins_.yml

This file was deleted.

3 changes: 1 addition & 2 deletions tests/test_components/test_pdk_settings_coupler90_.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
info: {}
name: coupler90_G0p2_R10_Bben_11d57add
name: coupler90_G0p2_RNone_Bb_9c88eb65
settings:
bend: bend_euler
cross_section: strip
gap: 0.2
radius: 10
straight: straight
3 changes: 0 additions & 3 deletions tests/test_components/test_pdk_settings_crossing_.yml

This file was deleted.

10 changes: 0 additions & 10 deletions tests/test_components/test_pdk_settings_dbg_.yml

This file was deleted.

21 changes: 0 additions & 21 deletions tests/test_components/test_pdk_settings_dbr_.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/test_components/test_pdk_settings_dc_adiabatic_.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/test_components/test_pdk_settings_dc_broadband_te_.yml

This file was deleted.

3 changes: 0 additions & 3 deletions tests/test_components/test_pdk_settings_dc_broadband_tm_.yml

This file was deleted.

7 changes: 0 additions & 7 deletions tests/test_components/test_pdk_settings_ebeam_BondPad_.yml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2a3ff56

Please sign in to comment.