Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Mar 8, 2024
1 parent 61d2eb7 commit 2b76559
Show file tree
Hide file tree
Showing 36 changed files with 156 additions and 420 deletions.
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_nc_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_7f96af8c
name: bend_euler_cross_sectionxs_nc
placements: {}
ports: {}
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_no_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_8971af9f
name: bend_euler_cross_sectionxs_no
placements: {}
ports: {}
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_rc_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_1bc3fb24
name: bend_euler_cross_sectionxs_rc
placements: {}
ports: {}
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_ro_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_7fa5b36c
name: bend_euler_cross_sectionxs_ro
placements: {}
ports: {}
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_sc_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_2be53e03
name: bend_euler
placements: {}
ports: {}
2 changes: 1 addition & 1 deletion tests/test_netlists/test_netlists_bend_so_.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
connections: {}
instances: {}
name: bend_euler_f76eb32c
name: bend_euler_cross_sectionxs_so
placements: {}
ports: {}
74 changes: 19 additions & 55 deletions tests/test_netlists/test_netlists_mzi_nc_.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand All @@ -38,8 +37,7 @@ instances:
angle: 90.0
cross_section: xs_nc
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -50,7 +48,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand All @@ -63,8 +60,7 @@ instances:
angle: 90.0
cross_section: xs_nc
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -75,7 +71,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand All @@ -88,8 +83,7 @@ instances:
angle: 90.0
cross_section: xs_nc
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -100,7 +94,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand All @@ -113,8 +106,7 @@ instances:
angle: 90.0
cross_section: xs_nc
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -125,7 +117,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand Down Expand Up @@ -170,8 +161,7 @@ instances:
taper_length: 10.0
width_wide: null
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -182,7 +172,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand Down Expand Up @@ -227,8 +216,7 @@ instances:
taper_length: 10.0
width_wide: null
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -239,7 +227,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand Down Expand Up @@ -284,8 +271,7 @@ instances:
taper_length: 10.0
width_wide: null
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand All @@ -296,7 +282,6 @@ instances:
info:
dy: 25.0
length: 41.592
model: bend_nc
radius: 25.0
radius_min: 17.652
route_info_length: 41.592
Expand Down Expand Up @@ -341,8 +326,7 @@ instances:
taper_length: 10.0
width_wide: null
direction: ccw
info:
model: bend_nc
info: null
npoints: null
p: 0.5
post_process: null
Expand Down Expand Up @@ -388,7 +372,6 @@ instances:
component: straight
info:
length: 0.01
model: straight_nc
route_info_length: 0.01
route_info_type: xs_nc
route_info_weight: 0.01
Expand Down Expand Up @@ -428,16 +411,14 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 0.01
npoints: 2
post_process: null
straight_5:
component: straight
info:
length: 0.01
model: straight_nc
route_info_length: 0.01
route_info_type: xs_nc
route_info_weight: 0.01
Expand Down Expand Up @@ -477,16 +458,14 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 0.01
npoints: 2
post_process: null
straight_6:
component: straight
info:
length: 2.0
model: straight_nc
route_info_length: 2.0
route_info_type: xs_nc
route_info_weight: 2.0
Expand Down Expand Up @@ -526,16 +505,14 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 2.0
npoints: 2
post_process: null
straight_7:
component: straight
info:
length: 0.01
model: straight_nc
route_info_length: 0.01
route_info_type: xs_nc
route_info_weight: 0.01
Expand Down Expand Up @@ -575,16 +552,14 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 0.01
npoints: 2
post_process: null
straight_8:
component: straight
info:
length: 0.01
model: straight_nc
route_info_length: 0.01
route_info_type: xs_nc
route_info_weight: 0.01
Expand Down Expand Up @@ -624,16 +599,14 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 0.01
npoints: 2
post_process: null
straight_9:
component: straight
info:
length: 7.0
model: straight_nc
route_info_length: 7.0
route_info_type: xs_nc
route_info_weight: 7.0
Expand Down Expand Up @@ -673,80 +646,71 @@ instances:
width_function: null
taper_length: 10.0
width_wide: null
info:
model: straight_nc
info: null
length: 7.0
npoints: 2
post_process: null
sxb:
component: straight
info:
length: 0.1
model: straight_nc
route_info_length: 0.1
route_info_type: xs_nc
route_info_weight: 0.1
route_info_xs_nc_length: 0.1
width: 1.2
settings:
cross_section: xs_nc
info:
model: straight_nc
info: null
length: 0.1
npoints: 2
post_process: null
sxt:
component: straight
info:
length: 0.1
model: straight_nc
route_info_length: 0.1
route_info_type: xs_nc
route_info_weight: 0.1
route_info_xs_nc_length: 0.1
width: 1.2
settings:
cross_section: xs_nc
info:
model: straight_nc
info: null
length: 0.1
npoints: 2
post_process: null
syl:
component: straight
info:
length: 7.0
model: straight_nc
route_info_length: 7.0
route_info_type: xs_nc
route_info_weight: 7.0
route_info_xs_nc_length: 7.0
width: 1.2
settings:
cross_section: xs_nc
info:
model: straight_nc
info: null
length: 7.0
npoints: 2
post_process: null
sytl:
component: straight
info:
length: 2.0
model: straight_nc
route_info_length: 2.0
route_info_type: xs_nc
route_info_weight: 2.0
route_info_xs_nc_length: 2.0
width: 1.2
settings:
cross_section: xs_nc
info:
model: straight_nc
info: null
length: 2.0
npoints: 2
post_process: null
name: mzi_950eed3b
name: mzi_c087d0b3
placements:
bend_euler_1:
mirror: true
Expand Down
Loading

0 comments on commit 2b76559

Please sign in to comment.