Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Dec 12, 2023
1 parent fb5a6f2 commit 10976ad
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ classifiers = [
"Operating System :: OS Independent"
]
dependencies = [
"gdsfactory[cad]==7.8.3"
"gdsfactory[cad]==7.9.2"
]
description = "gdsfactory VTT PDK"
keywords = ["python"]
Expand Down
Binary file added tests/ref/mmi1x2_2b6ccbca.gds
Binary file not shown.
Binary file added tests/ref/mmi2x2_0e945212.gds
Binary file not shown.
26 changes: 22 additions & 4 deletions tests/test_components/test_pdk_settings_mmi1x2_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mmi1x2_06e8e03f
name: mmi1x2_2b6ccbca
ports:
o1:
center:
Expand Down Expand Up @@ -51,14 +51,16 @@ settings:
info: {}
min_length: 0.01
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: null
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -67,11 +69,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -80,11 +84,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -93,11 +99,13 @@ settings:
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -106,6 +114,7 @@ settings:
- optical
simplify: null
width: 22.875
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -144,14 +153,16 @@ settings:
info: {}
min_length: 0.01
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: null
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -160,11 +171,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -173,11 +186,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -186,11 +201,13 @@ settings:
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -199,6 +216,7 @@ settings:
- optical
simplify: null
width: 22.875
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -217,4 +235,4 @@ settings:
info: {}
info_version: 2
module: gdsfactory.components.mmi1x2
name: mmi1x2_06e8e03f
name: mmi1x2_2b6ccbca
26 changes: 22 additions & 4 deletions tests/test_components/test_pdk_settings_mmi2x2_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mmi2x2_022b9f24
name: mmi2x2_0e945212
ports:
o1:
center:
Expand Down Expand Up @@ -63,14 +63,16 @@ settings:
info: {}
min_length: 0.01
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: null
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -79,11 +81,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -92,11 +96,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -105,11 +111,13 @@ settings:
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -118,6 +126,7 @@ settings:
- optical
simplify: null
width: 22.875
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand Down Expand Up @@ -156,14 +165,16 @@ settings:
info: {}
min_length: 0.01
radius: 10.0
radius_min: null
sections:
- hidden: false
insets: null
layer:
- 89
- 1
name: null
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
Expand All @@ -172,11 +183,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_SUB
name: WG
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -185,11 +198,13 @@ settings:
- optical
simplify: null
width: 1.875
width_function: null
- hidden: false
insets: null
layer: WG_RIBS_ADD
name: trench
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -198,11 +213,13 @@ settings:
- optical
simplify: null
width: 21.875
width_function: null
- hidden: false
insets: null
layer: WG_MOST_ADD
name: trench_2
offset: 0
offset_function: null
port_names:
- null
- null
Expand All @@ -211,6 +228,7 @@ settings:
- optical
simplify: null
width: 22.875
width_function: null
start_straight_length: 0.01
taper_length: 10.0
width_wide: null
Expand All @@ -229,4 +247,4 @@ settings:
info: {}
info_version: 2
module: gdsfactory.components.mmi2x2
name: mmi2x2_022b9f24
name: mmi2x2_0e945212

0 comments on commit 10976ad

Please sign in to comment.