Skip to content

Commit

Permalink
Merge pull request #6 from gdsfactory/gdsfactory7_better_serialize
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
joamatab authored May 29, 2024
2 parents bbdd0a9 + 98c3d4f commit 41ab6d2
Show file tree
Hide file tree
Showing 152 changed files with 30 additions and 958 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_pdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
test:
runs-on: ubuntu-latest
container: ghcr.io/gdsfactory/gdsfactory:main
container: ghcr.io/gdsfactory/gdsfactory7:main
strategy:
fail-fast: false
matrix:
Expand Down
13 changes: 1 addition & 12 deletions gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_nc_.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
function: mzi
info: {}
module: gdsfactory.components.mzi
name: mzi_01020fcd
name: mzi_b485ef26
settings:
add_electrical_ports_bot: true
add_optical_ports_arms: false
bend:
function: bend_euler_nc
combiner: null
cross_section:
bbox_layers:
- - 36
Expand All @@ -19,26 +18,19 @@ settings:
radius_min: 5.0
sections:
- hidden: false
insets: null
layer:
- 34
- 0
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
width: 1.0
width_function: null
cross_section_x_bot: null
cross_section_x_top: null
delta_length: 10.0
extend_ports_straight_x: null
length_x: 0.1
length_y: 2.0
min_length: 0.01
Expand All @@ -52,7 +44,4 @@ settings:
function: mmi1x2_nc
straight:
function: straight_nc
straight_x_bot: null
straight_x_top: null
straight_y: null
with_splitter: true
13 changes: 1 addition & 12 deletions gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_no_.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
function: mzi
info: {}
module: gdsfactory.components.mzi
name: mzi_4d4fe19b
name: mzi_e2c06608
settings:
add_electrical_ports_bot: true
add_optical_ports_arms: false
bend:
function: bend_euler_no
combiner: null
cross_section:
bbox_layers:
- - 36
Expand All @@ -19,26 +18,19 @@ settings:
radius_min: 5.0
sections:
- hidden: false
insets: null
layer:
- 34
- 0
name: _default
offset: 0.0
offset_function: null
port_names:
- o1
- o2
port_types:
- optical
- optical
simplify: null
width: 0.9
width_function: null
cross_section_x_bot: null
cross_section_x_top: null
delta_length: 10.0
extend_ports_straight_x: null
length_x: 0.1
length_y: 2.0
min_length: 0.01
Expand All @@ -52,7 +44,4 @@ settings:
function: mmi1x2_no
straight:
function: straight_no
straight_x_bot: null
straight_x_top: null
straight_y: null
with_splitter: true
7 changes: 1 addition & 6 deletions test-data-regression/test_component_from_sequence_0_.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function: component_sequence
info: {}
module: gdsfactory.components.component_sequence
name: component_sequence_1465bcb9
name: component_sequence_6f601450
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: ABHBA
start_orientation: 0.0
symbol_to_component:
Expand All @@ -24,8 +23,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o1
- o2
B:
Expand All @@ -34,8 +31,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o2
- o1
H:
Expand Down
7 changes: 1 addition & 6 deletions test-data-regression/test_component_from_sequence_1_.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function: component_sequence
info: {}
module: gdsfactory.components.component_sequence
name: component_sequence_73d455a5
name: component_sequence_0f66a741
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: '!HH'
start_orientation: 0.0
symbol_to_component:
Expand All @@ -24,8 +23,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o1
- o2
B:
Expand All @@ -34,8 +31,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o2
- o1
H:
Expand Down
7 changes: 1 addition & 6 deletions test-data-regression/test_component_from_sequence_2_.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function: component_sequence
info: {}
module: gdsfactory.components.component_sequence
name: component_sequence_2d259132
name: component_sequence_3a2e22df
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: AB
start_orientation: 0.0
symbol_to_component:
Expand All @@ -24,8 +23,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o1
- o2
B:
Expand All @@ -34,8 +31,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o2
- o1
H:
Expand Down
7 changes: 1 addition & 6 deletions test-data-regression/test_component_from_sequence_3_.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function: component_sequence
info: {}
module: gdsfactory.components.component_sequence
name: component_sequence_bb9400a2
name: component_sequence_ed30c8b5
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: HH!
start_orientation: 0.0
symbol_to_component:
Expand All @@ -24,8 +23,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o1
- o2
B:
Expand All @@ -34,8 +31,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o2
- o1
H:
Expand Down
7 changes: 1 addition & 6 deletions test-data-regression/test_component_from_sequence_4_.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
function: component_sequence
info: {}
module: gdsfactory.components.component_sequence
name: component_sequence_9a3aefb1
name: component_sequence_93822fb8
settings:
port_name1: o1
port_name2: o2
ports_map: null
sequence: H
start_orientation: 0.0
symbol_to_component:
Expand All @@ -24,8 +23,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o1
- o2
B:
Expand All @@ -34,8 +31,6 @@ settings:
settings:
angle: 180
cross_section: xs_sc
npoints: null
radius: null
- o2
- o1
H:
Expand Down
Loading

0 comments on commit 41ab6d2

Please sign in to comment.