diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 93142bf41..25256222e 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1 +1 @@ -FROM joamatab/gdsfactory:7.27.0 +FROM joamatab/gdsfactory:7.27.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe2b99e3a..6fa0fad31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,14 +46,14 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:7.27.0 + tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory:7.27.1 file: .devcontainer/Dockerfile.dev - name: Build and push minimal id: docker_build_minimal uses: docker/build-push-action@v5 with: push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:7.27.0 + tags: ${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:latest,${{ secrets.DOCKERHUB_USERNAME }}/gdsfactory_minimal:7.27.1 file: .devcontainer/Dockerfile.dev_minimal release_environment: diff --git a/.github/workflows/test_pdks.yml b/.github/workflows/test_pdks.yml deleted file mode 100644 index aa79be411..000000000 --- a/.github/workflows/test_pdks.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Test PDKs - -on: - pull_request: - push: - branches: - - main - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - runs-on: ubuntu-latest - container: ghcr.io/gdsfactory/gdsfactory:main - strategy: - fail-fast: false - matrix: - repo: - - { owner: "gdsfactory", repo: "cspdk" } - - { owner: "gdsfactory", repo: "skywater130" } - - { owner: "gdsfactory", repo: "ubc" } - - steps: - - name: Checkout this repository - uses: actions/checkout@v4 - - - name: Checkout other repository - uses: actions/checkout@v4 - with: - repository: ${{ matrix.repo.owner }}/${{ matrix.repo.repo }} - path: other-repo - - - name: Run tests - run: | - ls other-repo - pip install -e other-repo - pip install -e . - cd other-repo - pytest diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a8ee0022..07aed372b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ +## [7.27.1](https://github.com/gdsfactory/gdsfactory/releases/tag/v7.27.1) - 2024-05-29 + +No significant changes. + + ## [7.27.0](https://github.com/gdsfactory/gdsfactory/releases/tag/v7.27.0) - 2024-05-20 - Improve get route astar [#2752](https://github.com/gdsfactory/gdsfactory/pull/2752) diff --git a/README.md b/README.md index e9f68f3f4..021a6aac9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gdsfactory 7.27.0 +# gdsfactory 7.27.2 [![docs](https://github.com/gdsfactory/gdsfactory/actions/workflows/pages.yml/badge.svg)](https://gdsfactory.github.io/gdsfactory/) [![PyPI](https://img.shields.io/pypi/v/gdsfactory)](https://pypi.org/project/gdsfactory/) @@ -11,7 +11,7 @@ ![logo](https://i.imgur.com/cN1ZWq8.png) -> **⚠️ Deprecation Warning:** +> **⚠️ Deprecation Warning:** > This version of gdsfactory will only have bug fixes and minor updates. Please see [https://github.com/gdsfactory/gdsfactory](https://github.com/gdsfactory/gdsfactory) for the latest version. gdsfactory: An open source platform for end to-end chip design and validation. diff --git a/docs/developer.md b/docs/developer.md index c03238311..5a2a2728e 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -59,6 +59,12 @@ pip install -e .[dev] pre-commit install ``` +**Note**: +- If you need to run the notebooks and you are not using VSCode or Anaconda, then you need to install [jupyter lab](https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html) +``` +pip install jupyterlab +``` + ## Style - Follow [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html) and existing code. diff --git a/gdsfactory/config.py b/gdsfactory/config.py index d6ef2e49c..762875980 100644 --- a/gdsfactory/config.py +++ b/gdsfactory/config.py @@ -32,7 +32,7 @@ if TYPE_CHECKING: from loguru import Logger -__version__ = "7.27.0" +__version__ = "7.27.1" PathType = str | pathlib.Path home = pathlib.Path.home() diff --git a/gdsfactory/generic_tech/klayout/grain.xml b/gdsfactory/generic_tech/klayout/grain.xml index fecf2c3f2..72790c306 100644 --- a/gdsfactory/generic_tech/klayout/grain.xml +++ b/gdsfactory/generic_tech/klayout/grain.xml @@ -3,7 +3,7 @@ gdsfactory false - 7.27.0 + 7.27.1 gdsfactory EDA tool to layout integrated circuits diff --git a/gdsfactory/generic_tech/klayout/pymacros/set_menus.lym b/gdsfactory/generic_tech/klayout/pymacros/set_menus.lym index 634c45dc3..ed1cdebd1 100644 --- a/gdsfactory/generic_tech/klayout/pymacros/set_menus.lym +++ b/gdsfactory/generic_tech/klayout/pymacros/set_menus.lym @@ -17,7 +17,7 @@ import pya -__version__ = "7.27.0" +__version__ = "7.27.1" def set_menu(): diff --git a/gdsfactory/get_netlist.py b/gdsfactory/get_netlist.py index 85cc48dd2..b0a5d3924 100644 --- a/gdsfactory/get_netlist.py +++ b/gdsfactory/get_netlist.py @@ -112,6 +112,7 @@ def get_netlist( get_instance_name: Callable[..., str] = get_instance_name_from_alias, allow_multiple: bool = False, merge_info: bool = False, + extend_recursive_port_names: bool = False, ) -> dict[str, Any]: """Returns instances, connections and placements from :class:`Component` as a dict. @@ -144,6 +145,7 @@ def get_netlist( allow_multiple: False to raise an error if more than two ports share the same connection. \ if True, will return key: [value] pairs with [value] a list of all connected instances. merge_info: True to merge info and settings into the same dict. + extend_recursive_port_names: Compatibility with recursive get_netlist port name identifiers. Returns: Dictionary containing the following: @@ -197,12 +199,11 @@ def get_netlist( # Prefer name from settings over c.name if c.settings: - settings = dict(c.settings) + settings = c.settings.model_dump(exclude_none=True) if merge_info: - settings.update( - {k: v for k, v in dict(c.info).items() if k in settings} - ) + info = c.info.model_dump(exclude_none=True) + settings.update({k: v for k, v in info.items() if k in settings}) settings = clean_value_json(settings) instance.update( @@ -237,7 +238,12 @@ def get_netlist( # a bit of a hack... get the top-level port for the # ComponentArray, by our known naming convention. I hope no one # renames these ports! - parent_port = component[top_name] + if extend_recursive_port_names: + parent_port = component[ + parent_port_name + ] # otherwise links to non existent component ports + else: + parent_port = component[top_name] name2port[lower_name] = parent_port top_ports_list.add(top_name) ports_by_type[parent_port.port_type].append(lower_name) @@ -598,9 +604,11 @@ def get_netlist_recursive( inst_name = get_instance_name(component, ref) netlist_dict = {"component": f"{rcell.name}{component_suffix}"} if rcell.settings: - netlist_dict.update(settings=rcell.settings) + netlist_dict.update( + settings=rcell.settings.model_dump(exclude_none=True) + ) if rcell.info: - netlist_dict.update(info=rcell.info) + netlist_dict.update(info=rcell.info.model_dump(exclude_none=True)) netlist["instances"][inst_name] = netlist_dict return all_netlists @@ -638,43 +646,47 @@ def _demo_mzi_lattice() -> None: if __name__ == "__main__": import gdsfactory as gf - from gdsfactory.decorators import flatten_offgrid_references - - rotation_value = 35 - cname = "test_get_netlist_transformed" - c = gf.Component(cname) - i1 = c.add_ref(gf.components.straight(), "i1") - i2 = c.add_ref(gf.components.straight(), "i2") - i1.rotate(rotation_value) - i2.connect("o2", i1.ports["o1"]) - - # flatten the oddly rotated refs - c = flatten_offgrid_references(c) - print(c.get_dependencies()) - c.show() - - # perform the initial sanity checks on the netlist - netlist = c.get_netlist() - connections = netlist["connections"] - assert len(connections) == 1, len(connections) - cpairs = list(connections.items()) - extracted_port_pair = set(cpairs[0]) - expected_port_pair = {"i2,o2", "i1,o1"} - assert extracted_port_pair == expected_port_pair - - recursive_netlist = get_netlist_recursive(c) - top_netlist = recursive_netlist[cname] - # the recursive netlist should have 3 entries, for the top level and two - # rotated straights - assert len(recursive_netlist) == 1, len(recursive_netlist) - # confirm that the child netlists have reference attributes properly set - - i1_cell_name = top_netlist["instances"]["i1"]["component"] - i1_netlist = recursive_netlist[i1_cell_name] - # currently for transformed netlists, the instance name of the inner cell is None - assert i1_netlist["placements"][None]["rotation"] == rotation_value - - i2_cell_name = top_netlist["instances"]["i2"]["component"] - i2_netlist = recursive_netlist[i2_cell_name] - # currently for transformed netlists, the instance name of the inner cell is None - assert i2_netlist["placements"][None]["rotation"] == rotation_value + + c = gf.c.mzi() + n = c.get_netlist() + + # from gdsfactory.decorators import flatten_offgrid_references + + # rotation_value = 35 + # cname = "test_get_netlist_transformed" + # c = gf.Component(cname) + # i1 = c.add_ref(gf.components.straight(), "i1") + # i2 = c.add_ref(gf.components.straight(), "i2") + # i1.rotate(rotation_value) + # i2.connect("o2", i1.ports["o1"]) + + # # flatten the oddly rotated refs + # c = flatten_offgrid_references(c) + # print(c.get_dependencies()) + # c.show() + + # # perform the initial sanity checks on the netlist + # netlist = c.get_netlist() + # connections = netlist["connections"] + # assert len(connections) == 1, len(connections) + # cpairs = list(connections.items()) + # extracted_port_pair = set(cpairs[0]) + # expected_port_pair = {"i2,o2", "i1,o1"} + # assert extracted_port_pair == expected_port_pair + + # recursive_netlist = get_netlist_recursive(c) + # top_netlist = recursive_netlist[cname] + # # the recursive netlist should have 3 entries, for the top level and two + # # rotated straights + # assert len(recursive_netlist) == 1, len(recursive_netlist) + # # confirm that the child netlists have reference attributes properly set + + # i1_cell_name = top_netlist["instances"]["i1"]["component"] + # i1_netlist = recursive_netlist[i1_cell_name] + # # currently for transformed netlists, the instance name of the inner cell is None + # assert i1_netlist["placements"][None]["rotation"] == rotation_value + + # i2_cell_name = top_netlist["instances"]["i2"]["component"] + # i2_netlist = recursive_netlist[i2_cell_name] + # # currently for transformed netlists, the instance name of the inner cell is None + # assert i2_netlist["placements"][None]["rotation"] == rotation_value diff --git a/gdsfactory/routing/get_route.py b/gdsfactory/routing/get_route.py index 5ef7a3303..20ad9d821 100644 --- a/gdsfactory/routing/get_route.py +++ b/gdsfactory/routing/get_route.py @@ -401,11 +401,14 @@ def get_route_from_waypoints( ptop = c << gf.components.pad(port_orientation=270) pbot = c << gf.components.pad(port_orientation=90) - ptop.movex(3) + ptop.movex(300) ptop.movey(300) - route = get_route_electrical( + route = get_route( ptop.ports["pad"], pbot.ports["pad"], + cross_section="xs_sc", + bend=gf.c.wire_corner45, + width=5, ) c.add(route.references) c.show() diff --git a/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_nc_.yml b/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_nc_.yml index ed939e460..6f80b80f6 100644 --- a/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_nc_.yml +++ b/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_nc_.yml @@ -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 @@ -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 @@ -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 diff --git a/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_no_.yml b/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_no_.yml index 77ed88da2..83e52a985 100644 --- a/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_no_.yml +++ b/gdsfactory/samples/pdk/test_fab_c/test_settings_mzi_no_.yml @@ -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 @@ -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 @@ -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 diff --git a/gdsfactory/serialization.py b/gdsfactory/serialization.py index 84232a02d..2e51294c1 100644 --- a/gdsfactory/serialization.py +++ b/gdsfactory/serialization.py @@ -50,7 +50,7 @@ def clean_value_json( from gdsfactory.path import Path if isinstance(value, pydantic.BaseModel): - return clean_dict(value.model_dump()) + return clean_dict(value.model_dump(exclude_none=True)) elif fast_serialization and isinstance(value, Component): return value.name diff --git a/notebooks/08_pdk.ipynb b/notebooks/08_pdk.ipynb index f2d801372..31e6adebb 100644 --- a/notebooks/08_pdk.ipynb +++ b/notebooks/08_pdk.ipynb @@ -448,7 +448,7 @@ "\n", "gdsfactory is **not** backwards compatible, which means that the package will keep improving and evolving.\n", "\n", - "1. To make your work stable you should install a specific version and [pin the version](https://martin-thoma.com/python-requirements/) in your `requirements.txt` or `pyproject.toml` as `gdsfactory==7.27.0` replacing `7.27.0` by whatever version you end up using.\n", + "1. To make your work stable you should install a specific version and [pin the version](https://martin-thoma.com/python-requirements/) in your `requirements.txt` or `pyproject.toml` as `gdsfactory==7.27.1` replacing `7.27.1` by whatever version you end up using.\n", "2. Before you upgrade gdsfactory to a newer version make sure your tests pass to make sure that things behave as expected\n", "\n" ] diff --git a/pyproject.toml b/pyproject.toml index 937990d02..706bdc219 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ license = {file = "LICENSE"} name = "gdsfactory" readme = "README.md" requires-python = ">=3.10" -version = "7.27.0" +version = "7.27.1" [project.optional-dependencies] cad = [ @@ -211,7 +211,7 @@ message_template = "Bump to {new_version}" tag_template = "v{new_version}" [tool.tbump.version] -current = "7.27.0" +current = "7.27.1" regex = ''' (?P\d+) \. diff --git a/test-data-regression/test_component_from_sequence_0_.yml b/test-data-regression/test_component_from_sequence_0_.yml index 4fb26a979..e193b126f 100644 --- a/test-data-regression/test_component_from_sequence_0_.yml +++ b/test-data-regression/test_component_from_sequence_0_.yml @@ -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: @@ -24,8 +23,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o1 - o2 B: @@ -34,8 +31,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o2 - o1 H: diff --git a/test-data-regression/test_component_from_sequence_1_.yml b/test-data-regression/test_component_from_sequence_1_.yml index 0fcdc9828..3073451f6 100644 --- a/test-data-regression/test_component_from_sequence_1_.yml +++ b/test-data-regression/test_component_from_sequence_1_.yml @@ -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: @@ -24,8 +23,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o1 - o2 B: @@ -34,8 +31,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o2 - o1 H: diff --git a/test-data-regression/test_component_from_sequence_2_.yml b/test-data-regression/test_component_from_sequence_2_.yml index 6e1c68188..099436b5c 100644 --- a/test-data-regression/test_component_from_sequence_2_.yml +++ b/test-data-regression/test_component_from_sequence_2_.yml @@ -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: @@ -24,8 +23,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o1 - o2 B: @@ -34,8 +31,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o2 - o1 H: diff --git a/test-data-regression/test_component_from_sequence_3_.yml b/test-data-regression/test_component_from_sequence_3_.yml index 459e3fb2f..c20a325c0 100644 --- a/test-data-regression/test_component_from_sequence_3_.yml +++ b/test-data-regression/test_component_from_sequence_3_.yml @@ -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: @@ -24,8 +23,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o1 - o2 B: @@ -34,8 +31,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o2 - o1 H: diff --git a/test-data-regression/test_component_from_sequence_4_.yml b/test-data-regression/test_component_from_sequence_4_.yml index 87a771804..517de69c8 100644 --- a/test-data-regression/test_component_from_sequence_4_.yml +++ b/test-data-regression/test_component_from_sequence_4_.yml @@ -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: @@ -24,8 +23,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o1 - o2 B: @@ -34,8 +31,6 @@ settings: settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null - o2 - o1 H: diff --git a/test-data-regression/test_netlists_mzit_.yml b/test-data-regression/test_netlists_mzit_.yml index 15af8d081..d084241eb 100644 --- a/test-data-regression/test_netlists_mzit_.yml +++ b/test-data-regression/test_netlists_mzit_.yml @@ -33,31 +33,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.45 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -75,31 +67,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.45 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_3: component: bend_euler @@ -117,31 +101,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_4: component: bend_euler @@ -159,31 +135,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true coupler_1: component: coupler @@ -226,27 +194,21 @@ instances: width: 0.55 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null length: 1.0 npoints: 2 straight_2: @@ -260,27 +222,21 @@ instances: width: 0.55 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null length: 3.0 npoints: 2 straight_3: @@ -294,27 +250,21 @@ instances: width: 0.55 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null length: 4.0 npoints: 2 straight_4: @@ -328,27 +278,21 @@ instances: width: 0.55 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.55 - width_function: null length: 3.0 npoints: 2 straight_5: @@ -362,27 +306,21 @@ instances: width: 0.45 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.45 - width_function: null length: 1.0 npoints: 2 taper_1: @@ -394,7 +332,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 @@ -413,7 +350,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 @@ -432,7 +368,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 @@ -451,7 +386,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 @@ -470,7 +404,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 @@ -489,7 +422,6 @@ instances: settings: cross_section: xs_sc length: 5.0 - port: null port_names: - o1 - o2 diff --git a/test-data-regression/test_netlists_ring_double_.yml b/test-data-regression/test_netlists_ring_double_.yml index 289a414ad..686f673fc 100644 --- a/test-data-regression/test_netlists_ring_double_.yml +++ b/test-data-regression/test_netlists_ring_double_.yml @@ -15,28 +15,21 @@ instances: coupler_straight: function: coupler_straight cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null - cross_section_bend: null gap: 0.2 length_extension: 3 length_x: 0.01 @@ -52,28 +45,21 @@ instances: coupler_straight: function: coupler_straight cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null - cross_section_bend: null gap: 0.2 length_extension: 3 length_x: 0.01 @@ -89,27 +75,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.01 npoints: 2 straight_2: @@ -123,27 +103,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.01 npoints: 2 name: ring_double diff --git a/test-data-regression/test_netlists_ring_single_.yml b/test-data-regression/test_netlists_ring_single_.yml index 785ccee57..4b8188997 100644 --- a/test-data-regression/test_netlists_ring_single_.yml +++ b/test-data-regression/test_netlists_ring_single_.yml @@ -22,31 +22,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -64,31 +56,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true coupler_ring_1: component: coupler_ring @@ -101,28 +85,21 @@ instances: coupler_straight: function: coupler_straight cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null - cross_section_bend: null gap: 0.2 length_extension: 3 length_x: 4.0 @@ -138,27 +115,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.6 npoints: 2 straight_2: @@ -172,27 +143,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.6 npoints: 2 straight_3: @@ -206,27 +171,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 4.0 npoints: 2 name: ring_single diff --git a/test-data-regression/test_netlists_sample_different_link_factory_.yml b/test-data-regression/test_netlists_sample_different_link_factory_.yml index 6b279d5e0..48fae7769 100644 --- a/test-data-regression/test_netlists_sample_different_link_factory_.yml +++ b/test-data-regression/test_netlists_sample_different_link_factory_.yml @@ -36,31 +36,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_10: component: bend_euler @@ -78,31 +70,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_11: component: bend_euler @@ -120,31 +104,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_12: component: bend_euler @@ -162,31 +138,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -204,31 +172,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_3: component: bend_euler @@ -246,31 +206,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_4: component: bend_euler @@ -288,31 +240,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_5: component: bend_euler @@ -330,31 +274,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_6: component: bend_euler @@ -372,31 +308,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_7: component: bend_euler @@ -414,31 +342,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_8: component: bend_euler @@ -456,31 +376,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_9: component: bend_euler @@ -498,31 +410,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bl: component: pad @@ -536,11 +440,8 @@ instances: xsize: 100.0 ysize: 100.0 settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: - 100.0 - 100.0 @@ -556,11 +457,8 @@ instances: xsize: 100.0 ysize: 100.0 settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: - 100.0 - 100.0 @@ -575,27 +473,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 200.0 npoints: 2 straight_10: @@ -609,27 +501,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 610.0 npoints: 2 straight_2: @@ -643,27 +529,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 340.0 npoints: 2 straight_3: @@ -677,27 +557,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 250.0 npoints: 2 straight_4: @@ -711,27 +585,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 250.0 npoints: 2 straight_5: @@ -745,27 +613,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 580.0 npoints: 2 straight_6: @@ -779,27 +641,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 170.0 npoints: 2 straight_7: @@ -813,27 +669,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 340.0 npoints: 2 straight_8: @@ -847,27 +697,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 250.0 npoints: 2 straight_9: @@ -881,27 +725,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 250.0 npoints: 2 tl: @@ -916,11 +754,8 @@ instances: xsize: 100.0 ysize: 100.0 settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: - 100.0 - 100.0 @@ -936,11 +771,8 @@ instances: xsize: 100.0 ysize: 100.0 settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: - 100.0 - 100.0 diff --git a/test-data-regression/test_netlists_sample_docstring_.yml b/test-data-regression/test_netlists_sample_docstring_.yml index 8bf54b4e1..ea04d29d6 100644 --- a/test-data-regression/test_netlists_sample_docstring_.yml +++ b/test-data-regression/test_netlists_sample_docstring_.yml @@ -22,31 +22,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -64,31 +56,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true mmi_bot: component: mmi1x2 @@ -100,7 +84,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 5 width_taper: 1.0 mmi_top: @@ -113,7 +96,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 6 width_taper: 1.0 straight_1: @@ -127,27 +109,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 19.99 npoints: 2 straight_2: @@ -161,27 +137,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 18.75 npoints: 2 straight_3: @@ -195,27 +165,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.01 npoints: 2 name: sample_docstring_e2d59879 diff --git a/test-data-regression/test_netlists_sample_doe_.yml b/test-data-regression/test_netlists_sample_doe_.yml index 3633ba015..238b87dde 100644 --- a/test-data-regression/test_netlists_sample_doe_.yml +++ b/test-data-regression/test_netlists_sample_doe_.yml @@ -6,7 +6,6 @@ instances: settings: do_permutations: true doe: mmi1x2 - function: null settings: length_mmi: - 2 diff --git a/test-data-regression/test_netlists_sample_mirror_simple_.yml b/test-data-regression/test_netlists_sample_mirror_simple_.yml index a8e6d5cb1..259b71a53 100644 --- a/test-data-regression/test_netlists_sample_mirror_simple_.yml +++ b/test-data-regression/test_netlists_sample_mirror_simple_.yml @@ -15,8 +15,6 @@ instances: settings: angle: 90.0 cross_section: xs_sc - npoints: null - radius: null s: component: straight info: diff --git a/test-data-regression/test_netlists_sample_mmis_.yml b/test-data-regression/test_netlists_sample_mmis_.yml index e53ed073a..f3eaf75e4 100644 --- a/test-data-regression/test_netlists_sample_mmis_.yml +++ b/test-data-regression/test_netlists_sample_mmis_.yml @@ -22,31 +22,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -64,31 +56,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true mmi_long: component: mmi1x2 @@ -100,7 +84,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 4.5 width_taper: 1.0 mmi_short: @@ -113,7 +96,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 4.5 width_taper: 1.0 straight_1: @@ -127,27 +109,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 95.02 npoints: 2 straight_2: @@ -161,27 +137,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 79.375 npoints: 2 straight_3: @@ -195,27 +165,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.02 npoints: 2 name: sample_mmis_3a07ee11 diff --git a/test-data-regression/test_netlists_sample_waypoints_.yml b/test-data-regression/test_netlists_sample_waypoints_.yml index c060a95da..208dc555d 100644 --- a/test-data-regression/test_netlists_sample_waypoints_.yml +++ b/test-data-regression/test_netlists_sample_waypoints_.yml @@ -45,31 +45,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_2: component: bend_euler @@ -87,31 +79,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_3: component: bend_euler @@ -129,31 +113,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_4: component: bend_euler @@ -171,31 +147,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_5: component: bend_euler @@ -213,31 +181,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_6: component: bend_euler @@ -255,31 +215,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_7: component: bend_euler @@ -297,31 +249,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true bend_euler_8: component: bend_euler @@ -339,31 +283,23 @@ instances: settings: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true straight_1: component: straight @@ -376,27 +312,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 290.0 npoints: 2 straight_10: @@ -410,27 +340,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 440.0 npoints: 2 straight_2: @@ -444,27 +368,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 380.0 npoints: 2 straight_3: @@ -478,27 +396,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 80.0 npoints: 2 straight_4: @@ -512,27 +424,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 630.0 npoints: 2 straight_5: @@ -546,27 +452,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 590.0 npoints: 2 straight_6: @@ -580,27 +480,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 140.0 npoints: 2 straight_7: @@ -614,27 +508,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 380.0 npoints: 2 straight_8: @@ -648,27 +536,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 380.0 npoints: 2 straight_9: @@ -682,27 +564,21 @@ instances: width: 0.5 settings: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 radius_min: 5.0 sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 630.0 npoints: 2 t: diff --git a/test-data-regression/test_netlists_yaml_anchor_.yml b/test-data-regression/test_netlists_yaml_anchor_.yml index 0763db75b..52f8a3348 100644 --- a/test-data-regression/test_netlists_yaml_anchor_.yml +++ b/test-data-regression/test_netlists_yaml_anchor_.yml @@ -10,7 +10,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 4.5 width_taper: 1.0 mmi_short: @@ -23,7 +22,6 @@ instances: length_taper: 10.0 taper: function: taper - width: null width_mmi: 4.5 width_taper: 1.0 name: yaml_anchor_8731fb27 diff --git a/test-data-regression/test_read_gds_with_settings2.yml b/test-data-regression/test_read_gds_with_settings2.yml index 75af4cdf0..63f3410b4 100644 --- a/test-data-regression/test_read_gds_with_settings2.yml +++ b/test-data-regression/test_read_gds_with_settings2.yml @@ -7,13 +7,9 @@ settings: add_optical_ports_arms: false bend: function: bend_euler - combiner: null cross_section: function: cross_section - 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 @@ -34,12 +30,8 @@ settings: length_taper: 10.0 taper: function: taper - width: null width_mmi: 2.5 width_taper: 1.0 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_rename_ports_electrical_.yml b/test-data-regression/test_rename_ports_electrical_.yml index 9ea3ade69..736ecedaf 100644 --- a/test-data-regression/test_rename_ports_electrical_.yml +++ b/test-data-regression/test_rename_ports_electrical_.yml @@ -11,5 +11,3 @@ settings: west: 1 wg_margin: 1.0 wg_width: 0.5 - xsize: null - ysize: null diff --git a/test-data-regression/test_rename_ports_optical_.yml b/test-data-regression/test_rename_ports_optical_.yml index ba8f92b9f..ea81b6de5 100644 --- a/test-data-regression/test_rename_ports_optical_.yml +++ b/test-data-regression/test_rename_ports_optical_.yml @@ -11,5 +11,3 @@ settings: west: 1 wg_margin: 1.0 wg_width: 0.5 - xsize: null - ysize: null diff --git a/test-data-regression/test_rename_ports_placement_.yml b/test-data-regression/test_rename_ports_placement_.yml index d3bfec931..4e822af80 100644 --- a/test-data-regression/test_rename_ports_placement_.yml +++ b/test-data-regression/test_rename_ports_placement_.yml @@ -11,5 +11,3 @@ settings: west: 1 wg_margin: 1.0 wg_width: 0.5 - xsize: null - ysize: null diff --git a/test-data-regression/test_settings_add_electrical_pads_shortest_.yml b/test-data-regression/test_settings_add_electrical_pads_shortest_.yml index c7cfafbed..f669ee96c 100644 --- a/test-data-regression/test_settings_add_electrical_pads_shortest_.yml +++ b/test-data-regression/test_settings_add_electrical_pads_shortest_.yml @@ -14,10 +14,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -31,14 +28,11 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true layer: M3 pad: pad pad_port_spacing: 50.0 - port_names: null port_orientation: 90 select_ports: function: select_ports diff --git a/test-data-regression/test_settings_add_electrical_pads_top_.yml b/test-data-regression/test_settings_add_electrical_pads_top_.yml index 4bceeec08..37cc2e0a4 100644 --- a/test-data-regression/test_settings_add_electrical_pads_top_.yml +++ b/test-data-regression/test_settings_add_electrical_pads_top_.yml @@ -14,10 +14,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -31,15 +28,12 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true direction: top layer: MTOP pad_array: function: pad_array - port_names: null select_ports: function: select_ports module: gdsfactory.port diff --git a/test-data-regression/test_settings_add_fiber_array_optical_south_electrical_north_.yml b/test-data-regression/test_settings_add_fiber_array_optical_south_electrical_north_.yml index b0b2ca3ae..c8ef102ad 100644 --- a/test-data-regression/test_settings_add_fiber_array_optical_south_electrical_north_.yml +++ b/test-data-regression/test_settings_add_fiber_array_optical_south_electrical_north_.yml @@ -9,12 +9,10 @@ settings: settings: length_x: 200 straight_x_top: straight_heater_metal - electrical_port_names: null electrical_port_orientation: 90 fiber_spacing: 127.0 grating_coupler: function: grating_coupler_elliptical - npads: null pad: function: pad module: gdsfactory.components.pad @@ -22,7 +20,6 @@ settings: size: - 80 - 80 - pad_assigments: null pad_gc_spacing: 250.0 pad_spacing: 100.0 with_loopback: true diff --git a/test-data-regression/test_settings_add_fiber_single_.yml b/test-data-regression/test_settings_add_fiber_single_.yml index 5816715f4..cd31bed83 100644 --- a/test-data-regression/test_settings_add_fiber_single_.yml +++ b/test-data-regression/test_settings_add_fiber_single_.yml @@ -16,10 +16,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -33,11 +30,8 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true - component_name: null cross_section: xs_sc fiber_spacing: 50 gc_port_name: o1 @@ -52,8 +46,6 @@ settings: settings: polarization: te taper_angle: 35 - io_rotation: null - layer_label: null loopback_xspacing: 50.0 min_input_to_output_spacing: 200.0 optical_routing_type: 2 @@ -67,4 +59,3 @@ settings: straight: function: straight with_loopback: true - zero_port: null diff --git a/test-data-regression/test_settings_add_fiducials_.yml b/test-data-regression/test_settings_add_fiducials_.yml index ce28c6ee2..10b4f6aa5 100644 --- a/test-data-regression/test_settings_add_fiducials_.yml +++ b/test-data-regression/test_settings_add_fiducials_.yml @@ -5,7 +5,6 @@ info: module: gdsfactory.components.add_fiducials name: add_fiducials settings: - bottom: null component: function: pad_array gap: 50 @@ -14,4 +13,3 @@ settings: - 0 - 0 right: cross - top: null diff --git a/test-data-regression/test_settings_add_frame_.yml b/test-data-regression/test_settings_add_frame_.yml index 91d84024c..a1308bcee 100644 --- a/test-data-regression/test_settings_add_frame_.yml +++ b/test-data-regression/test_settings_add_frame_.yml @@ -6,6 +6,5 @@ settings: component: function: rectangle layer: WG - layers: null spacing: 10.0 width: 10.0 diff --git a/test-data-regression/test_settings_add_grating_couplers_fiber_array_.yml b/test-data-regression/test_settings_add_grating_couplers_fiber_array_.yml index 035c826a7..9c0d7512c 100644 --- a/test-data-regression/test_settings_add_grating_couplers_fiber_array_.yml +++ b/test-data-regression/test_settings_add_grating_couplers_fiber_array_.yml @@ -13,7 +13,6 @@ settings: settings: length: 20000.0 cross_section: xs_sc - excluded_ports: null gc_port_name: o1 gc_rotation: -90 grating_coupler: diff --git a/test-data-regression/test_settings_add_padding_container_.yml b/test-data-regression/test_settings_add_padding_container_.yml index 9f37a66a7..897969da4 100644 --- a/test-data-regression/test_settings_add_padding_container_.yml +++ b/test-data-regression/test_settings_add_padding_container_.yml @@ -14,10 +14,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -31,9 +28,7 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true function: function: add_padding diff --git a/test-data-regression/test_settings_add_pads_bot_.yml b/test-data-regression/test_settings_add_pads_bot_.yml index b5fdfbd85..9f7a960a8 100644 --- a/test-data-regression/test_settings_add_pads_bot_.yml +++ b/test-data-regression/test_settings_add_pads_bot_.yml @@ -15,10 +15,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -32,25 +29,18 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true - component_name: null cross_section: xs_metal_routing - get_input_labels_function: null layer_label: TEXT - min_length: null optical_routing_type: 1 pad: function: pad module: gdsfactory.components.pad settings: size: pad_size - pad_port_labels: null pad_port_name: e1 pad_spacing: pad_spacing - port_names: null select_ports: function: select_ports module: gdsfactory.port diff --git a/test-data-regression/test_settings_add_pads_top_.yml b/test-data-regression/test_settings_add_pads_top_.yml index 025c6e424..13547bb4b 100644 --- a/test-data-regression/test_settings_add_pads_top_.yml +++ b/test-data-regression/test_settings_add_pads_top_.yml @@ -14,10 +14,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -31,7 +28,5 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_align_wafer_.yml b/test-data-regression/test_settings_align_wafer_.yml index c35838370..7d5e2fc4d 100644 --- a/test-data-regression/test_settings_align_wafer_.yml +++ b/test-data-regression/test_settings_align_wafer_.yml @@ -5,8 +5,6 @@ name: align_wafer settings: cross_length: 80.0 layer: WG - layer_cladding: null - layers: null spacing: 10.0 square_corner: bottom_left width: 10.0 diff --git a/test-data-regression/test_settings_array_.yml b/test-data-regression/test_settings_array_.yml index eee43cf20..3bfc58cb2 100644 --- a/test-data-regression/test_settings_array_.yml +++ b/test-data-regression/test_settings_array_.yml @@ -16,7 +16,6 @@ settings: columns: 6 component: pad rows: 1 - size: null spacing: - 150.0 - 150.0 diff --git a/test-data-regression/test_settings_array_with_fanout_.yml b/test-data-regression/test_settings_array_with_fanout_.yml index bbf482432..f90c7a38d 100644 --- a/test-data-regression/test_settings_array_with_fanout_.yml +++ b/test-data-regression/test_settings_array_with_fanout_.yml @@ -4,8 +4,6 @@ module: gdsfactory.components.array_with_fanout name: array_with_fanout settings: bend: bend_euler - bend_port_name1: null - bend_port_name2: null columns: 3 component: pad component_port_name: e4 diff --git a/test-data-regression/test_settings_array_with_fanout_2d_.yml b/test-data-regression/test_settings_array_with_fanout_2d_.yml index c6fd0e789..41cc9164b 100644 --- a/test-data-regression/test_settings_array_with_fanout_2d_.yml +++ b/test-data-regression/test_settings_array_with_fanout_2d_.yml @@ -5,6 +5,4 @@ name: array_with_fanout_2d settings: columns: 3 pitch: 150.0 - pitch_x: null - pitch_y: null rows: 2 diff --git a/test-data-regression/test_settings_array_with_via_.yml b/test-data-regression/test_settings_array_with_via_.yml index dc012402b..8f8b22bab 100644 --- a/test-data-regression/test_settings_array_with_via_.yml +++ b/test-data-regression/test_settings_array_with_via_.yml @@ -19,7 +19,6 @@ settings: - electrical radius: null width: 10.0 - port_offset: null port_orientation: 180 spacing: 150.0 straight_length: 60.0 diff --git a/test-data-regression/test_settings_bend_circular180_.yml b/test-data-regression/test_settings_bend_circular180_.yml index 8bd525554..2d9df1740 100644 --- a/test-data-regression/test_settings_bend_circular180_.yml +++ b/test-data-regression/test_settings_bend_circular180_.yml @@ -13,5 +13,3 @@ name: bend_circular_angle180 settings: angle: 180 cross_section: xs_sc - npoints: null - radius: null diff --git a/test-data-regression/test_settings_bend_circular_.yml b/test-data-regression/test_settings_bend_circular_.yml index 0ef3293b0..7670f3041 100644 --- a/test-data-regression/test_settings_bend_circular_.yml +++ b/test-data-regression/test_settings_bend_circular_.yml @@ -13,5 +13,3 @@ name: bend_circular settings: angle: 90.0 cross_section: xs_sc - npoints: null - radius: null diff --git a/test-data-regression/test_settings_bend_circular_heater_.yml b/test-data-regression/test_settings_bend_circular_heater_.yml index b839b42e3..90f114e91 100644 --- a/test-data-regression/test_settings_bend_circular_heater_.yml +++ b/test-data-regression/test_settings_bend_circular_heater_.yml @@ -11,5 +11,3 @@ settings: heater_to_wg_distance: 1.2 heater_width: 0.5 layer_heater: HEATER - npoints: null - radius: null diff --git a/test-data-regression/test_settings_bend_euler180_.yml b/test-data-regression/test_settings_bend_euler180_.yml index 23f9f608b..3efe50d67 100644 --- a/test-data-regression/test_settings_bend_euler180_.yml +++ b/test-data-regression/test_settings_bend_euler180_.yml @@ -16,7 +16,5 @@ settings: angle: 180 cross_section: xs_sc direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true diff --git a/test-data-regression/test_settings_bend_euler_.yml b/test-data-regression/test_settings_bend_euler_.yml index 009836a1f..301c1ee39 100644 --- a/test-data-regression/test_settings_bend_euler_.yml +++ b/test-data-regression/test_settings_bend_euler_.yml @@ -16,7 +16,5 @@ settings: angle: 90.0 cross_section: xs_sc direction: ccw - npoints: null p: 0.5 - radius: null with_arc_floorplan: true diff --git a/test-data-regression/test_settings_bend_straight_bend_.yml b/test-data-regression/test_settings_bend_straight_bend_.yml index 10af68bad..e71d8cd56 100644 --- a/test-data-regression/test_settings_bend_straight_bend_.yml +++ b/test-data-regression/test_settings_bend_straight_bend_.yml @@ -13,6 +13,5 @@ settings: direction: ccw npoints: 720 p: 0.5 - radius: null straight_length: 10.0 with_arc_floorplan: true diff --git a/test-data-regression/test_settings_bezier_.yml b/test-data-regression/test_settings_bezier_.yml index c7f633cb4..f5feed410 100644 --- a/test-data-regression/test_settings_bezier_.yml +++ b/test-data-regression/test_settings_bezier_.yml @@ -7,7 +7,6 @@ info: module: gdsfactory.components.bezier name: bezier settings: - bend_radius_error_type: null control_points: - - 0.0 - 0.0 @@ -18,7 +17,5 @@ settings: - - 10.0 - 1.8 cross_section: xs_sc - end_angle: null npoints: 201 - start_angle: null with_manhattan_facing_angles: true diff --git a/test-data-regression/test_settings_cdsem_coupler_.yml b/test-data-regression/test_settings_cdsem_coupler_.yml index 3c73c0b2f..aa2ecd757 100644 --- a/test-data-regression/test_settings_cdsem_coupler_.yml +++ b/test-data-regression/test_settings_cdsem_coupler_.yml @@ -9,7 +9,6 @@ settings: - 0.2 - 0.25 length: 420.0 - positions: null spacing: 7.0 text: function: text_rectangular diff --git a/test-data-regression/test_settings_cdsem_straight_.yml b/test-data-regression/test_settings_cdsem_straight_.yml index d143a32aa..6a465d68b 100644 --- a/test-data-regression/test_settings_cdsem_straight_.yml +++ b/test-data-regression/test_settings_cdsem_straight_.yml @@ -5,7 +5,6 @@ name: cdsem_straight settings: cross_section: xs_sc length: 420.0 - positions: null spacing: 7.0 text: function: text_rectangular diff --git a/test-data-regression/test_settings_coh_rx_dual_pol_.yml b/test-data-regression/test_settings_coh_rx_dual_pol_.yml index 9ec963b83..de3a1b736 100644 --- a/test-data-regression/test_settings_coh_rx_dual_pol_.yml +++ b/test-data-regression/test_settings_coh_rx_dual_pol_.yml @@ -6,10 +6,7 @@ settings: bend: function: bend_euler cross_section: xs_sc - lo_input_coupler: null lo_splitter: mmi1x2 - signal_input_coupler: null - signal_splitter: null single_pol_rx_spacing: 50.0 splitter_coh_rx_spacing: 40.0 spol_coh_rx: diff --git a/test-data-regression/test_settings_coh_rx_single_pol_.yml b/test-data-regression/test_settings_coh_rx_single_pol_.yml index ab841b919..f9030d365 100644 --- a/test-data-regression/test_settings_coh_rx_single_pol_.yml +++ b/test-data-regression/test_settings_coh_rx_single_pol_.yml @@ -13,7 +13,5 @@ settings: hybrid_90deg: function: mmi_90degree_hybrid in_wg_length: 20.0 - lo_input_coupler: null pad_det_spacing: 80.0 - signal_input_coupler: null with_pads: true diff --git a/test-data-regression/test_settings_coh_tx_dual_pol_.yml b/test-data-regression/test_settings_coh_tx_dual_pol_.yml index 3c82077cf..e046a998f 100644 --- a/test-data-regression/test_settings_coh_tx_dual_pol_.yml +++ b/test-data-regression/test_settings_coh_tx_dual_pol_.yml @@ -3,10 +3,7 @@ info: {} module: gdsfactory.components.coh_tx_dual_pol name: coh_tx_dual_pol settings: - combiner: null cross_section: xs_sc - input_coupler: null - output_coupler: null splitter: mmi1x2 spol_coh_tx: coh_tx_single_pol xspacing: 40.0 diff --git a/test-data-regression/test_settings_coh_tx_single_pol_.yml b/test-data-regression/test_settings_coh_tx_single_pol_.yml index ca203afaf..f010ad7cb 100644 --- a/test-data-regression/test_settings_coh_tx_single_pol_.yml +++ b/test-data-regression/test_settings_coh_tx_single_pol_.yml @@ -4,9 +4,7 @@ module: gdsfactory.components.coh_tx_single_pol name: coh_tx_single_pol settings: balanced_phase_shifters: false - combiner: null cross_section: xs_sc - input_coupler: null mzm: component: mzi settings: @@ -16,7 +14,6 @@ settings: mzm_length: 200.0 mzm_ps_spacing: 40.0 mzm_y_spacing: 50.0 - output_coupler: null pad_array: pad_array phase_shifter: straight_pin phase_shifter_length: 100.0 diff --git a/test-data-regression/test_settings_component_lattice_.yml b/test-data-regression/test_settings_component_lattice_.yml index fc0082b16..04fa49f82 100644 --- a/test-data-regression/test_settings_component_lattice_.yml +++ b/test-data-regression/test_settings_component_lattice_.yml @@ -5,4 +5,3 @@ name: component_lattice settings: grid_per_unit: 1000 lattice: "\n C-X\n CXX\n CXX\n C-X\n " - symbol_to_component: null diff --git a/test-data-regression/test_settings_component_lattice_generic_.yml b/test-data-regression/test_settings_component_lattice_generic_.yml index 17a96458a..def780bdc 100644 --- a/test-data-regression/test_settings_component_lattice_generic_.yml +++ b/test-data-regression/test_settings_component_lattice_generic_.yml @@ -2,5 +2,4 @@ function: component_lattice_generic info: {} module: gdsfactory.components.component_lattice_generic name: component_lattice_generic -settings: - network: null +settings: {} diff --git a/test-data-regression/test_settings_coupler90_.yml b/test-data-regression/test_settings_coupler90_.yml index 083473a5f..9e25aa744 100644 --- a/test-data-regression/test_settings_coupler90_.yml +++ b/test-data-regression/test_settings_coupler90_.yml @@ -6,7 +6,6 @@ settings: bend: function: bend_euler cross_section: xs_sc - cross_section_bend: null gap: 0.2 radius: 10.0 straight: diff --git a/test-data-regression/test_settings_coupler90circular_.yml b/test-data-regression/test_settings_coupler90circular_.yml index f42b7fa0e..612eb1d98 100644 --- a/test-data-regression/test_settings_coupler90circular_.yml +++ b/test-data-regression/test_settings_coupler90circular_.yml @@ -6,7 +6,6 @@ settings: bend: function: bend_circular cross_section: xs_sc - cross_section_bend: null gap: 0.2 radius: 10.0 straight: diff --git a/test-data-regression/test_settings_coupler_ring_.yml b/test-data-regression/test_settings_coupler_ring_.yml index d232a33d6..1da0316eb 100644 --- a/test-data-regression/test_settings_coupler_ring_.yml +++ b/test-data-regression/test_settings_coupler_ring_.yml @@ -10,7 +10,6 @@ settings: coupler_straight: function: coupler_straight cross_section: xs_sc - cross_section_bend: null gap: 0.2 length_extension: 3 length_x: 4.0 diff --git a/test-data-regression/test_settings_coupler_ring_point_.yml b/test-data-regression/test_settings_coupler_ring_point_.yml index d2277e27f..008482bf9 100644 --- a/test-data-regression/test_settings_coupler_ring_point_.yml +++ b/test-data-regression/test_settings_coupler_ring_point_.yml @@ -5,5 +5,3 @@ name: coupler_ring_point settings: coupler_ring: function: coupler_ring - open_layers: null - open_sizes: null diff --git a/test-data-regression/test_settings_cross_.yml b/test-data-regression/test_settings_cross_.yml index 10fea9862..ae034c221 100644 --- a/test-data-regression/test_settings_cross_.yml +++ b/test-data-regression/test_settings_cross_.yml @@ -4,7 +4,5 @@ module: gdsfactory.components.cross name: cross settings: layer: WG - layers: null length: 10.0 - port_type: null width: 3.0 diff --git a/test-data-regression/test_settings_crossing45_.yml b/test-data-regression/test_settings_crossing45_.yml index 1133974f4..3c0b4ad58 100644 --- a/test-data-regression/test_settings_crossing45_.yml +++ b/test-data-regression/test_settings_crossing45_.yml @@ -10,6 +10,5 @@ settings: cross_section_bends: xs_sc crossing: function: crossing - dx: null npoints: 101 port_spacing: 40.0 diff --git a/test-data-regression/test_settings_cutback_2x2_.yml b/test-data-regression/test_settings_cutback_2x2_.yml index 1b8a996cc..e07fe45cb 100644 --- a/test-data-regression/test_settings_cutback_2x2_.yml +++ b/test-data-regression/test_settings_cutback_2x2_.yml @@ -19,4 +19,3 @@ settings: port3: o3 port4: o4 rows: 5 - straight_length: null diff --git a/test-data-regression/test_settings_cutback_component_.yml b/test-data-regression/test_settings_cutback_component_.yml index e730abc04..5f6701968 100644 --- a/test-data-regression/test_settings_cutback_component_.yml +++ b/test-data-regression/test_settings_cutback_component_.yml @@ -18,7 +18,4 @@ settings: mirror2: false port1: o1 port2: o2 - ports_map: null rows: 5 - straight_length: null - straight_length_pair: null diff --git a/test-data-regression/test_settings_cutback_component_mirror_.yml b/test-data-regression/test_settings_cutback_component_mirror_.yml index 9287be1f7..1b13d0702 100644 --- a/test-data-regression/test_settings_cutback_component_mirror_.yml +++ b/test-data-regression/test_settings_cutback_component_mirror_.yml @@ -18,7 +18,4 @@ settings: mirror2: false port1: o1 port2: o2 - ports_map: null rows: 5 - straight_length: null - straight_length_pair: null diff --git a/test-data-regression/test_settings_cutback_splitter_.yml b/test-data-regression/test_settings_cutback_splitter_.yml index 86dd73000..9e939502c 100644 --- a/test-data-regression/test_settings_cutback_splitter_.yml +++ b/test-data-regression/test_settings_cutback_splitter_.yml @@ -18,4 +18,3 @@ settings: port2: o2 port3: o3 rows: 5 - straight_length: null diff --git a/test-data-regression/test_settings_dicing_lane_.yml b/test-data-regression/test_settings_dicing_lane_.yml index 9f068b495..73325883e 100644 --- a/test-data-regression/test_settings_dicing_lane_.yml +++ b/test-data-regression/test_settings_dicing_lane_.yml @@ -4,7 +4,6 @@ module: gdsfactory.components.dicing_lane name: dicing_lane settings: layer_dicing: DICING - layers: null marker: function: triangle module: gdsfactory.components.triangles diff --git a/test-data-regression/test_settings_die_.yml b/test-data-regression/test_settings_die_.yml index 91e890a46..2d02e1eec 100644 --- a/test-data-regression/test_settings_die_.yml +++ b/test-data-regression/test_settings_die_.yml @@ -7,7 +7,6 @@ settings: die_name: chip99 draw_corners: false layer: FLOORPLAN - layers: null size: - 10000.0 - 10000.0 diff --git a/test-data-regression/test_settings_die_bbox_.yml b/test-data-regression/test_settings_die_bbox_.yml index 416c10a73..0901ada00 100644 --- a/test-data-regression/test_settings_die_bbox_.yml +++ b/test-data-regression/test_settings_die_bbox_.yml @@ -11,10 +11,8 @@ settings: size: - 1300 - 2600 - die_name: null layer: MTOP padding: 10.0 - street_length: null street_width: 100.0 text_anchor: sw text_size: 100.0 diff --git a/test-data-regression/test_settings_die_bbox_frame_.yml b/test-data-regression/test_settings_die_bbox_frame_.yml index 8903c2ff1..3f59fd29a 100644 --- a/test-data-regression/test_settings_die_bbox_frame_.yml +++ b/test-data-regression/test_settings_die_bbox_frame_.yml @@ -8,7 +8,6 @@ settings: - -1.0 - - 3.0 - 4.0 - die_name: null layer: MTOP padding: 10.0 street_length: 1000.0 diff --git a/test-data-regression/test_settings_edge_coupler_array_with_loopback_.yml b/test-data-regression/test_settings_edge_coupler_array_with_loopback_.yml index 40017b8e0..7567aae13 100644 --- a/test-data-regression/test_settings_edge_coupler_array_with_loopback_.yml +++ b/test-data-regression/test_settings_edge_coupler_array_with_loopback_.yml @@ -27,7 +27,6 @@ settings: space_y_by_port: false straight: function: straight - taper: null text: function: text_rectangular text_mirror: false diff --git a/test-data-regression/test_settings_edge_coupler_silicon_.yml b/test-data-regression/test_settings_edge_coupler_silicon_.yml index 5991d3080..b741b0c24 100644 --- a/test-data-regression/test_settings_edge_coupler_silicon_.yml +++ b/test-data-regression/test_settings_edge_coupler_silicon_.yml @@ -8,7 +8,6 @@ name: taper_1db74a4f settings: cross_section: xs_sc length: 100 - port: null port_names: - o1 - o2 diff --git a/test-data-regression/test_settings_extend_ports_.yml b/test-data-regression/test_settings_extend_ports_.yml index 338b2fcdc..d97af1f40 100644 --- a/test-data-regression/test_settings_extend_ports_.yml +++ b/test-data-regression/test_settings_extend_ports_.yml @@ -6,11 +6,5 @@ settings: centered: false component: function: mmi1x2 - cross_section: null - extension: null - extension_port_names: null length: 5.0 - port1: null - port2: null - port_names: null port_type: optical diff --git a/test-data-regression/test_settings_fanout2x2_.yml b/test-data-regression/test_settings_fanout2x2_.yml index ac2e97d01..647b0db99 100644 --- a/test-data-regression/test_settings_fanout2x2_.yml +++ b/test-data-regression/test_settings_fanout2x2_.yml @@ -3,7 +3,6 @@ info: {} module: gdsfactory.routing.fanout2x2 name: mzi_fanout2x2_componentmzi_669c248e settings: - bend_length: null component: function: mzi module: gdsfactory.components.mzi @@ -15,10 +14,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -32,9 +28,7 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true cross_section: xs_sc npoints: 101 diff --git a/test-data-regression/test_settings_fiducial_squares_.yml b/test-data-regression/test_settings_fiducial_squares_.yml index 06a1df792..1d04ba041 100644 --- a/test-data-regression/test_settings_fiducial_squares_.yml +++ b/test-data-regression/test_settings_fiducial_squares_.yml @@ -4,7 +4,6 @@ module: gdsfactory.components.fiducial_squares name: fiducial_squares settings: layer: WG - layers: null offset: 0.14 size: - 5.0 diff --git a/test-data-regression/test_settings_grating_coupler_elliptical_arbitrary_.yml b/test-data-regression/test_settings_grating_coupler_elliptical_arbitrary_.yml index 047bf2ee2..5776b986a 100644 --- a/test-data-regression/test_settings_grating_coupler_elliptical_arbitrary_.yml +++ b/test-data-regression/test_settings_grating_coupler_elliptical_arbitrary_.yml @@ -19,7 +19,6 @@ settings: - 0.1 - 0.1 - 0.1 - layer_grating: null layer_slab: SLAB150 nclad: 1.443 polarization: te diff --git a/test-data-regression/test_settings_grating_coupler_rectangular_.yml b/test-data-regression/test_settings_grating_coupler_rectangular_.yml index cd7ef77db..c9ffd0109 100644 --- a/test-data-regression/test_settings_grating_coupler_rectangular_.yml +++ b/test-data-regression/test_settings_grating_coupler_rectangular_.yml @@ -6,10 +6,7 @@ module: gdsfactory.components.grating_coupler_rectangular name: grating_coupler_rectangular settings: cross_section: xs_sc - fiber_angle: null fill_factor: 0.5 - layer_grating: null - layer_slab: null length_taper: 150.0 n_periods: 20 period: 0.75 diff --git a/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_.yml b/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_.yml index 897536d8e..b5b6602b2 100644 --- a/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_.yml +++ b/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_.yml @@ -6,7 +6,6 @@ module: gdsfactory.components.grating_coupler_rectangular_arbitrary name: grating_coupler_rectangular_arbitrary settings: cross_section: xs_sc - fiber_angle: null gaps: - 0.2 - 0.2 @@ -18,8 +17,6 @@ settings: - 0.2 - 0.2 - 0.2 - layer_grating: null - layer_slab: null length_taper: 150.0 polarization: te slab_offset: 1.0 diff --git a/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_slab_.yml b/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_slab_.yml index bd23209ab..a83400215 100644 --- a/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_slab_.yml +++ b/test-data-regression/test_settings_grating_coupler_rectangular_arbitrary_slab_.yml @@ -19,7 +19,6 @@ settings: - 0.2 - 0.2 - 0.2 - layer_grating: null layer_slab: SLAB150 length_taper: 150.0 polarization: te diff --git a/test-data-regression/test_settings_grating_coupler_tree_.yml b/test-data-regression/test_settings_grating_coupler_tree_.yml index 181519751..c684c3ae4 100644 --- a/test-data-regression/test_settings_grating_coupler_tree_.yml +++ b/test-data-regression/test_settings_grating_coupler_tree_.yml @@ -7,7 +7,6 @@ settings: fanout_length: 0.0 grating_coupler: function: grating_coupler_elliptical - layer_label: null n: 4 straight_spacing: 4.0 with_loopback: false diff --git a/test-data-regression/test_settings_greek_cross_.yml b/test-data-regression/test_settings_greek_cross_.yml index d3cf4256c..3580e0bcc 100644 --- a/test-data-regression/test_settings_greek_cross_.yml +++ b/test-data-regression/test_settings_greek_cross_.yml @@ -7,7 +7,6 @@ settings: - WG - N length: 30 - offsets: null via_stack: function: via_stack module: gdsfactory.components.via_stack diff --git a/test-data-regression/test_settings_logo_.yml b/test-data-regression/test_settings_logo_.yml index 55c435b65..118562a88 100644 --- a/test-data-regression/test_settings_logo_.yml +++ b/test-data-regression/test_settings_logo_.yml @@ -3,5 +3,4 @@ info: {} module: gdsfactory.components.logo name: logo settings: - layer: null text: GDSFACTORY diff --git a/test-data-regression/test_settings_mmi1x2_.yml b/test-data-regression/test_settings_mmi1x2_.yml index 57995a7a7..5f50f2150 100644 --- a/test-data-regression/test_settings_mmi1x2_.yml +++ b/test-data-regression/test_settings_mmi1x2_.yml @@ -9,6 +9,5 @@ settings: length_taper: 10.0 taper: function: taper - width: null width_mmi: 2.5 width_taper: 1.0 diff --git a/test-data-regression/test_settings_mmi2x2_.yml b/test-data-regression/test_settings_mmi2x2_.yml index 7bfa3d69a..c4964cde1 100644 --- a/test-data-regression/test_settings_mmi2x2_.yml +++ b/test-data-regression/test_settings_mmi2x2_.yml @@ -9,6 +9,5 @@ settings: length_taper: 10.0 taper: function: taper - width: null width_mmi: 2.5 width_taper: 1.0 diff --git a/test-data-regression/test_settings_mmi_.yml b/test-data-regression/test_settings_mmi_.yml index ee01b8e78..3d2b1ec92 100644 --- a/test-data-regression/test_settings_mmi_.yml +++ b/test-data-regression/test_settings_mmi_.yml @@ -6,14 +6,11 @@ settings: cross_section: xs_sc gap_input_tapers: 0.25 gap_output_tapers: 0.25 - input_positions: null inputs: 1 length_mmi: 5.5 length_taper: 10.0 - output_positions: null outputs: 4 taper: function: taper - width: null width_mmi: 5 width_taper: 1.0 diff --git a/test-data-regression/test_settings_mzi1x2_2x2_.yml b/test-data-regression/test_settings_mzi1x2_2x2_.yml index 3bff044ad..84b4a2104 100644 --- a/test-data-regression/test_settings_mzi1x2_2x2_.yml +++ b/test-data-regression/test_settings_mzi1x2_2x2_.yml @@ -10,10 +10,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - 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 @@ -26,7 +23,4 @@ settings: splitter: mmi1x2 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi2x2_2x2_.yml b/test-data-regression/test_settings_mzi2x2_2x2_.yml index 16e5115a9..a70d7d8bc 100644 --- a/test-data-regression/test_settings_mzi2x2_2x2_.yml +++ b/test-data-regression/test_settings_mzi2x2_2x2_.yml @@ -10,10 +10,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - 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 @@ -27,7 +24,4 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi2x2_2x2_phase_shifter_.yml b/test-data-regression/test_settings_mzi2x2_2x2_phase_shifter_.yml index 1713c7207..1e7b52681 100644 --- a/test-data-regression/test_settings_mzi2x2_2x2_phase_shifter_.yml +++ b/test-data-regression/test_settings_mzi2x2_2x2_phase_shifter_.yml @@ -10,10 +10,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 200 length_y: 2.0 min_length: 0.01 @@ -27,7 +24,5 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi_.yml b/test-data-regression/test_settings_mzi_.yml index 33b23d0dd..e6bb2547e 100644 --- a/test-data-regression/test_settings_mzi_.yml +++ b/test-data-regression/test_settings_mzi_.yml @@ -7,12 +7,8 @@ settings: add_optical_ports_arms: false bend: function: bend_euler - combiner: null cross_section: xs_sc - 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 @@ -25,7 +21,4 @@ settings: splitter: mmi1x2 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi_arms_.yml b/test-data-regression/test_settings_mzi_arms_.yml index d0ecbd4fe..e84a4b026 100644 --- a/test-data-regression/test_settings_mzi_arms_.yml +++ b/test-data-regression/test_settings_mzi_arms_.yml @@ -5,7 +5,6 @@ name: mzi_arms settings: bend: function: bend_euler - combiner: null delta_length: 10.0 delta_yright: 0 length_x: 0.1 @@ -14,7 +13,4 @@ settings: function: mmi1x2 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi_coupler_.yml b/test-data-regression/test_settings_mzi_coupler_.yml index 1883c2253..5e042e62a 100644 --- a/test-data-regression/test_settings_mzi_coupler_.yml +++ b/test-data-regression/test_settings_mzi_coupler_.yml @@ -10,10 +10,7 @@ settings: combiner: function: coupler cross_section: xs_sc - 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 @@ -27,7 +24,4 @@ settings: function: coupler straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_mzi_phase_shifter_.yml b/test-data-regression/test_settings_mzi_phase_shifter_.yml index b23efc789..23dd4a681 100644 --- a/test-data-regression/test_settings_mzi_phase_shifter_.yml +++ b/test-data-regression/test_settings_mzi_phase_shifter_.yml @@ -7,12 +7,8 @@ settings: add_optical_ports_arms: false bend: function: bend_euler - combiner: null cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 200 length_y: 2.0 min_length: 0.01 @@ -25,7 +21,5 @@ settings: splitter: mmi1x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true diff --git a/test-data-regression/test_settings_nxn_.yml b/test-data-regression/test_settings_nxn_.yml index 139d29c3d..fb578e70e 100644 --- a/test-data-regression/test_settings_nxn_.yml +++ b/test-data-regression/test_settings_nxn_.yml @@ -10,5 +10,3 @@ settings: west: 1 wg_margin: 1.0 wg_width: 0.5 - xsize: null - ysize: null diff --git a/test-data-regression/test_settings_pad_.yml b/test-data-regression/test_settings_pad_.yml index 2cad26af5..47b8b325e 100644 --- a/test-data-regression/test_settings_pad_.yml +++ b/test-data-regression/test_settings_pad_.yml @@ -11,11 +11,8 @@ info: module: gdsfactory.components.pad name: pad settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: - 100.0 - 100.0 diff --git a/test-data-regression/test_settings_pad_rectangular_.yml b/test-data-regression/test_settings_pad_rectangular_.yml index a487d196d..45fabdcc5 100644 --- a/test-data-regression/test_settings_pad_rectangular_.yml +++ b/test-data-regression/test_settings_pad_rectangular_.yml @@ -11,9 +11,6 @@ info: module: gdsfactory.components.pad name: pad_sizepad_size settings: - bbox_layers: null - bbox_offsets: null layer: MTOP port_inclusion: 0 - port_orientation: null size: pad_size diff --git a/test-data-regression/test_settings_pixel_.yml b/test-data-regression/test_settings_pixel_.yml index 1b39374cb..79909b5ce 100644 --- a/test-data-regression/test_settings_pixel_.yml +++ b/test-data-regression/test_settings_pixel_.yml @@ -4,5 +4,4 @@ module: gdsfactory.components.version_stamp name: pixel settings: layer: WG - layers: null size: 1.0 diff --git a/test-data-regression/test_settings_rectangle_with_slits_.yml b/test-data-regression/test_settings_rectangle_with_slits_.yml index b2e13acf5..3999adcea 100644 --- a/test-data-regression/test_settings_rectangle_with_slits_.yml +++ b/test-data-regression/test_settings_rectangle_with_slits_.yml @@ -6,7 +6,6 @@ settings: centered: false layer: WG layer_slit: SLAB150 - port_type: null size: - 100.0 - 200.0 diff --git a/test-data-regression/test_settings_resistance_sheet_.yml b/test-data-regression/test_settings_resistance_sheet_.yml index e6c68615b..ee9738c6a 100644 --- a/test-data-regression/test_settings_resistance_sheet_.yml +++ b/test-data-regression/test_settings_resistance_sheet_.yml @@ -10,7 +10,6 @@ settings: layers: - SLAB90 - NPP - ohms_per_square: null pad: function: via_stack module: gdsfactory.components.via_stack diff --git a/test-data-regression/test_settings_ring_crow_.yml b/test-data-regression/test_settings_ring_crow_.yml index 0c1946e3d..1f2c1ff50 100644 --- a/test-data-regression/test_settings_ring_crow_.yml +++ b/test-data-regression/test_settings_ring_crow_.yml @@ -3,20 +3,17 @@ info: {} module: gdsfactory.components.ring_crow name: ring_crow settings: - bends: null cross_section: xs_sc gaps: - 0.2 - 0.2 - 0.2 - 0.2 - input_straight_cross_section: null length_x: 0 lengths_y: - 0 - 0 - 0 - output_straight_cross_section: null radius: - 10.0 - 10.0 diff --git a/test-data-regression/test_settings_ring_double_.yml b/test-data-regression/test_settings_ring_double_.yml index 78aa0da59..8e6b81271 100644 --- a/test-data-regression/test_settings_ring_double_.yml +++ b/test-data-regression/test_settings_ring_double_.yml @@ -9,7 +9,6 @@ settings: function: coupler_ring cross_section: xs_sc gap: 0.2 - gap_top: null length_x: 0.01 length_y: 0.01 radius: 10.0 diff --git a/test-data-regression/test_settings_ring_double_heater_.yml b/test-data-regression/test_settings_ring_double_heater_.yml index 5c3686bda..f6ef895a6 100644 --- a/test-data-regression/test_settings_ring_double_heater_.yml +++ b/test-data-regression/test_settings_ring_double_heater_.yml @@ -7,15 +7,12 @@ settings: function: bend_euler coupler_ring: function: coupler_ring - coupler_ring_top: null cross_section: xs_sc cross_section_heater: xs_heater_metal cross_section_waveguide_heater: xs_sc_heater_metal gap: 0.2 - gap_top: null length_x: 1.0 length_y: 0.01 - port_orientation: null radius: 10.0 straight: function: straight diff --git a/test-data-regression/test_settings_ring_single_array_.yml b/test-data-regression/test_settings_ring_single_array_.yml index 8f5bead4a..b5624c277 100644 --- a/test-data-regression/test_settings_ring_single_array_.yml +++ b/test-data-regression/test_settings_ring_single_array_.yml @@ -4,7 +4,6 @@ module: gdsfactory.components.ring_single_array name: ring_single_array settings: cross_section: xs_sc - list_of_dicts: null ring: function: ring_single spacing: 5.0 diff --git a/test-data-regression/test_settings_ring_single_heater_.yml b/test-data-regression/test_settings_ring_single_heater_.yml index a47bcb334..4694ba290 100644 --- a/test-data-regression/test_settings_ring_single_heater_.yml +++ b/test-data-regression/test_settings_ring_single_heater_.yml @@ -14,7 +14,6 @@ settings: gap: 0.2 length_x: 4.0 length_y: 0.6 - port_orientation: null radius: 10.0 straight: function: straight diff --git a/test-data-regression/test_settings_rotate_.yml b/test-data-regression/test_settings_rotate_.yml index 3c9f15c53..8435dac8b 100644 --- a/test-data-regression/test_settings_rotate_.yml +++ b/test-data-regression/test_settings_rotate_.yml @@ -15,10 +15,7 @@ settings: combiner: function: mmi2x2 cross_section: xs_sc - cross_section_x_bot: null - cross_section_x_top: null delta_length: 10.0 - extend_ports_straight_x: null length_x: 100 length_y: 2.0 min_length: 0.01 @@ -32,8 +29,6 @@ settings: function: mmi2x2 straight: function: straight - straight_x_bot: null straight_x_top: straight_heater_metal - straight_y: null with_splitter: true recenter: false diff --git a/test-data-regression/test_settings_snspd_.yml b/test-data-regression/test_settings_snspd_.yml index 558274448..cd343a462 100644 --- a/test-data-regression/test_settings_snspd_.yml +++ b/test-data-regression/test_settings_snspd_.yml @@ -11,7 +11,6 @@ settings: layer: - 1 - 0 - num_squares: null size: - 10 - 8 diff --git a/test-data-regression/test_settings_spiral_double_.yml b/test-data-regression/test_settings_spiral_double_.yml index 0ae22b433..18a5dc17f 100644 --- a/test-data-regression/test_settings_spiral_double_.yml +++ b/test-data-regression/test_settings_spiral_double_.yml @@ -7,7 +7,6 @@ settings: bend: function: bend_circular cross_section: xs_sc - min_bend_radius: null npoints: 1000 number_of_loops: 3 separation: 2.0 diff --git a/test-data-regression/test_settings_spiral_external_io_.yml b/test-data-regression/test_settings_spiral_external_io_.yml index 21eef9671..1e60022e7 100644 --- a/test-data-regression/test_settings_spiral_external_io_.yml +++ b/test-data-regression/test_settings_spiral_external_io_.yml @@ -9,7 +9,6 @@ settings: function: bend_euler cross_section: xs_sc inner_loop_spacing_offset: 0.0 - length: null mirror_straight: false with_inner_ports: false x_inner_length_cutback: 300.0 diff --git a/test-data-regression/test_settings_spiral_inner_io_.yml b/test-data-regression/test_settings_spiral_inner_io_.yml index 26bf2aa22..bd607475b 100644 --- a/test-data-regression/test_settings_spiral_inner_io_.yml +++ b/test-data-regression/test_settings_spiral_inner_io_.yml @@ -14,10 +14,7 @@ settings: bend90: function: bend_euler cross_section: xs_sc - cross_section_bend: null - cross_section_bend180: null grating_spacing: 127.0 - length: null straight: function: straight waveguide_spacing: 3.0 diff --git a/test-data-regression/test_settings_spiral_inner_io_fiber_array_.yml b/test-data-regression/test_settings_spiral_inner_io_fiber_array_.yml index 20dd8be09..00b4901a0 100644 --- a/test-data-regression/test_settings_spiral_inner_io_fiber_array_.yml +++ b/test-data-regression/test_settings_spiral_inner_io_fiber_array_.yml @@ -18,8 +18,6 @@ settings: bend90: function: bend_euler cross_section: xs_sc - cross_section_bend: null - cross_section_bend180: null cross_section_loopback: xs_sc grating_spacing: 127.0 length: 20000.0 diff --git a/test-data-regression/test_settings_spiral_inner_io_fiber_single_.yml b/test-data-regression/test_settings_spiral_inner_io_fiber_single_.yml index d50526342..6afc4d719 100644 --- a/test-data-regression/test_settings_spiral_inner_io_fiber_single_.yml +++ b/test-data-regression/test_settings_spiral_inner_io_fiber_single_.yml @@ -5,8 +5,6 @@ module: gdsfactory.components.spiral_inner_io name: spiral_inner_io_fiber_single settings: cross_section: xs_sc - cross_section_bend: null - cross_section_ports: null grating_spacing: 200.0 x_straight_inner_left: 75.0 x_straight_inner_right: 40.0 diff --git a/test-data-regression/test_settings_spiral_meander_.yml b/test-data-regression/test_settings_spiral_meander_.yml index 66f494cb2..d35f69bc7 100644 --- a/test-data-regression/test_settings_spiral_meander_.yml +++ b/test-data-regression/test_settings_spiral_meander_.yml @@ -14,16 +14,11 @@ settings: extension_length: 15.0 heater_taper_length: 10.0 heater_width: 2.5 - layer_heater: null length: 1000.0 n: 3 - port_orientation1: null - port_orientation2: null - radius: null spacing: 2.0 straight: function: straight - straight_widths: null taper: function: taper_cross_section module: gdsfactory.components.taper_cross_section diff --git a/test-data-regression/test_settings_spiral_racetrack_fixed_length_.yml b/test-data-regression/test_settings_spiral_racetrack_fixed_length_.yml index f28554171..d354ce0fd 100644 --- a/test-data-regression/test_settings_spiral_racetrack_fixed_length_.yml +++ b/test-data-regression/test_settings_spiral_racetrack_fixed_length_.yml @@ -10,12 +10,10 @@ settings: bend_s_factory: function: bend_s cross_section: xs_sc - cross_section_s: null in_out_port_spacing: 150 length: 1000 min_radius: 5.0 min_spacing: 5.0 - n_bend_points: null n_straight_sections: 8 straight_factory: function: straight diff --git a/test-data-regression/test_settings_spiral_racetrack_heater_doped_.yml b/test-data-regression/test_settings_spiral_racetrack_heater_doped_.yml index af2479d77..d3e6838b2 100644 --- a/test-data-regression/test_settings_spiral_racetrack_heater_doped_.yml +++ b/test-data-regression/test_settings_spiral_racetrack_heater_doped_.yml @@ -8,7 +8,6 @@ settings: bend_s_factory: function: bend_s heater_cross_section: xs_npp - min_radius: null num: 8 spacing: 2 straight_factory: diff --git a/test-data-regression/test_settings_spiral_racetrack_heater_metal_.yml b/test-data-regression/test_settings_spiral_racetrack_heater_metal_.yml index 43ee8c1a8..164daeb5a 100644 --- a/test-data-regression/test_settings_spiral_racetrack_heater_metal_.yml +++ b/test-data-regression/test_settings_spiral_racetrack_heater_metal_.yml @@ -8,7 +8,6 @@ settings: bend_s_factory: function: bend_s heater_cross_section: xs_heater_metal - min_radius: null num: 8 spacing: 2 straight_factory: diff --git a/test-data-regression/test_settings_splitter_tree_.yml b/test-data-regression/test_settings_splitter_tree_.yml index eddb28892..7d8b9b040 100644 --- a/test-data-regression/test_settings_splitter_tree_.yml +++ b/test-data-regression/test_settings_splitter_tree_.yml @@ -5,7 +5,6 @@ name: splitter_tree settings: bend_s: function: bend_s - bend_s_xsize: null coupler: function: mmi1x2 cross_section: xs_sc diff --git a/test-data-regression/test_settings_straight_heater_doped_rib_.yml b/test-data-regression/test_settings_straight_heater_doped_rib_.yml index f786531f7..7dcb536f3 100644 --- a/test-data-regression/test_settings_straight_heater_doped_rib_.yml +++ b/test-data-regression/test_settings_straight_heater_doped_rib_.yml @@ -11,20 +11,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section_heater: function: rib_heater_doped heater_gap: 0.8 diff --git a/test-data-regression/test_settings_straight_heater_doped_strip_.yml b/test-data-regression/test_settings_straight_heater_doped_strip_.yml index af3d19f4e..023c0a989 100644 --- a/test-data-regression/test_settings_straight_heater_doped_strip_.yml +++ b/test-data-regression/test_settings_straight_heater_doped_strip_.yml @@ -11,20 +11,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section_heater: function: strip_heater_doped heater_gap: 0.8 diff --git a/test-data-regression/test_settings_straight_heater_meander_.yml b/test-data-regression/test_settings_straight_heater_meander_.yml index 5c68ba0fd..305f644b4 100644 --- a/test-data-regression/test_settings_straight_heater_meander_.yml +++ b/test-data-regression/test_settings_straight_heater_meander_.yml @@ -16,10 +16,6 @@ settings: heater_width: 2.5 layer_heater: HEATER length: 300.0 - n: null - port_orientation1: null - port_orientation2: null - radius: null spacing: 2.0 straight: function: straight diff --git a/test-data-regression/test_settings_straight_heater_meander_doped_.yml b/test-data-regression/test_settings_straight_heater_meander_doped_.yml index 9c89500fb..ad4d25419 100644 --- a/test-data-regression/test_settings_straight_heater_meander_doped_.yml +++ b/test-data-regression/test_settings_straight_heater_meander_doped_.yml @@ -11,8 +11,6 @@ settings: - PP - PPP length: 300.0 - port_orientation1: null - port_orientation2: null radius: 5.0 spacing: 2.0 straight_widths: diff --git a/test-data-regression/test_settings_straight_heater_metal_.yml b/test-data-regression/test_settings_straight_heater_metal_.yml index 3a66e0370..cc4cdb243 100644 --- a/test-data-regression/test_settings_straight_heater_metal_.yml +++ b/test-data-regression/test_settings_straight_heater_metal_.yml @@ -14,9 +14,6 @@ settings: length_straight_input: 0.1 length_undercut: 5 length_undercut_spacing: 0 - ohms_per_square: null - port_orientation1: null - port_orientation2: null straight: function: straight via_stack: via_stack_heater_mtop diff --git a/test-data-regression/test_settings_straight_heater_metal_90_90_.yml b/test-data-regression/test_settings_straight_heater_metal_90_90_.yml index 8f8a9a963..068a7b8e5 100644 --- a/test-data-regression/test_settings_straight_heater_metal_90_90_.yml +++ b/test-data-regression/test_settings_straight_heater_metal_90_90_.yml @@ -14,7 +14,6 @@ settings: length_straight_input: 0.1 length_undercut: 5 length_undercut_spacing: 0 - ohms_per_square: null port_orientation1: 90 port_orientation2: 90 straight: diff --git a/test-data-regression/test_settings_straight_heater_metal_simple_.yml b/test-data-regression/test_settings_straight_heater_metal_simple_.yml index 41f7d0d80..fab03c060 100644 --- a/test-data-regression/test_settings_straight_heater_metal_simple_.yml +++ b/test-data-regression/test_settings_straight_heater_metal_simple_.yml @@ -8,9 +8,6 @@ settings: cross_section_waveguide_heater: xs_sc_heater_metal heater_taper_length: 5.0 length: 320.0 - ohms_per_square: null - port_orientation1: null - port_orientation2: null straight: function: straight via_stack: via_stack_heater_mtop diff --git a/test-data-regression/test_settings_straight_heater_metal_undercut_.yml b/test-data-regression/test_settings_straight_heater_metal_undercut_.yml index 8b55457fb..1e5461417 100644 --- a/test-data-regression/test_settings_straight_heater_metal_undercut_.yml +++ b/test-data-regression/test_settings_straight_heater_metal_undercut_.yml @@ -14,9 +14,6 @@ settings: length_straight_input: 15.0 length_undercut: 30.0 length_undercut_spacing: 6.0 - ohms_per_square: null - port_orientation1: null - port_orientation2: null straight: function: straight via_stack: via_stack_heater_mtop diff --git a/test-data-regression/test_settings_straight_heater_metal_undercut_90_90_.yml b/test-data-regression/test_settings_straight_heater_metal_undercut_90_90_.yml index c058bd2a7..3d64dac7a 100644 --- a/test-data-regression/test_settings_straight_heater_metal_undercut_90_90_.yml +++ b/test-data-regression/test_settings_straight_heater_metal_undercut_90_90_.yml @@ -14,7 +14,6 @@ settings: length_straight_input: 15.0 length_undercut: 30.0 length_undercut_spacing: 6.0 - ohms_per_square: null port_orientation1: 90 port_orientation2: 90 straight: diff --git a/test-data-regression/test_settings_straight_pin_slot_.yml b/test-data-regression/test_settings_straight_pin_slot_.yml index 9cd817672..10ee3acff 100644 --- a/test-data-regression/test_settings_straight_pin_slot_.yml +++ b/test-data-regression/test_settings_straight_pin_slot_.yml @@ -40,9 +40,6 @@ settings: module: gdsfactory.components.via settings: layer: VIAC - via_stack_slab_bot: null via_stack_slab_spacing: 2.0 - via_stack_slab_top: null - via_stack_slab_width: null via_stack_spacing: 3.0 via_stack_width: 10.0 diff --git a/test-data-regression/test_settings_straight_rib_.yml b/test-data-regression/test_settings_straight_rib_.yml index 21e53d3cc..7dfcbd806 100644 --- a/test-data-regression/test_settings_straight_rib_.yml +++ b/test-data-regression/test_settings_straight_rib_.yml @@ -7,7 +7,7 @@ info: route_info_xs_8bf2c479_length: 10.0 width: 0.5 module: gdsfactory.components.straight -name: straight_7692a032 +name: straight_fee9dcda settings: cross_section: function: cross_section @@ -17,11 +17,9 @@ settings: radius_min: 20 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null @@ -30,6 +28,5 @@ settings: - optical simplify: 0.05 width: 6.0 - width_function: null length: 10.0 npoints: 2 diff --git a/test-data-regression/test_settings_straight_rib_tapered_.yml b/test-data-regression/test_settings_straight_rib_tapered_.yml index ea05143b8..f8ef83cd6 100644 --- a/test-data-regression/test_settings_straight_rib_tapered_.yml +++ b/test-data-regression/test_settings_straight_rib_tapered_.yml @@ -7,7 +7,7 @@ info: route_info_xs_8bf2c479_length: 10.0 width: 0.5 module: gdsfactory.components.extension -name: straight_extend_ports_ac2a7b25 +name: straight_extend_ports_25a2eee1 settings: centered: false component: @@ -22,11 +22,9 @@ settings: radius_min: 20 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null @@ -35,13 +33,9 @@ settings: - optical simplify: 0.05 width: 6.0 - width_function: null - cross_section: null extension: function: taper_strip_to_ridge - extension_port_names: null length: 5.0 port1: o2 port2: o1 - port_names: null port_type: optical diff --git a/test-data-regression/test_settings_switch_tree_.yml b/test-data-regression/test_settings_switch_tree_.yml index ea6eeee5c..1dde468d6 100644 --- a/test-data-regression/test_settings_switch_tree_.yml +++ b/test-data-regression/test_settings_switch_tree_.yml @@ -5,7 +5,6 @@ name: splitter_tree_92783473 settings: bend_s: function: bend_s - bend_s_xsize: null coupler: function: mzi module: gdsfactory.components.mzi diff --git a/test-data-regression/test_settings_taper_.yml b/test-data-regression/test_settings_taper_.yml index 778255e3d..bf07f1a8b 100644 --- a/test-data-regression/test_settings_taper_.yml +++ b/test-data-regression/test_settings_taper_.yml @@ -8,7 +8,6 @@ name: taper settings: cross_section: xs_sc length: 10.0 - port: null port_names: - o1 - o2 @@ -16,5 +15,4 @@ settings: - optical - optical width1: 0.5 - width2: null with_two_ports: true diff --git a/test-data-regression/test_settings_taper_cross_section_.yml b/test-data-regression/test_settings_taper_cross_section_.yml index aea49a1cf..606da275f 100644 --- a/test-data-regression/test_settings_taper_cross_section_.yml +++ b/test-data-regression/test_settings_taper_cross_section_.yml @@ -17,20 +17,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section2: xs_rc length: 10 linear: false diff --git a/test-data-regression/test_settings_taper_cross_section_linear_.yml b/test-data-regression/test_settings_taper_cross_section_linear_.yml index 342725f5a..9e4175384 100644 --- a/test-data-regression/test_settings_taper_cross_section_linear_.yml +++ b/test-data-regression/test_settings_taper_cross_section_linear_.yml @@ -17,20 +17,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section2: xs_rc length: 10 linear: true diff --git a/test-data-regression/test_settings_taper_cross_section_parabolic_.yml b/test-data-regression/test_settings_taper_cross_section_parabolic_.yml index c5f38a86c..f46add981 100644 --- a/test-data-regression/test_settings_taper_cross_section_parabolic_.yml +++ b/test-data-regression/test_settings_taper_cross_section_parabolic_.yml @@ -17,20 +17,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section2: xs_rc length: 10 linear: false diff --git a/test-data-regression/test_settings_taper_cross_section_sine_.yml b/test-data-regression/test_settings_taper_cross_section_sine_.yml index 03cb9ea11..8147a6996 100644 --- a/test-data-regression/test_settings_taper_cross_section_sine_.yml +++ b/test-data-regression/test_settings_taper_cross_section_sine_.yml @@ -17,20 +17,16 @@ settings: radius_min: 5 sections: - hidden: false - insets: null layer: SLAB90 name: slab offset: 0 - offset_function: null port_names: - null - null port_types: - optical - optical - simplify: null width: 0.2 - width_function: null cross_section2: xs_rc length: 10 linear: false diff --git a/test-data-regression/test_settings_terminator_.yml b/test-data-regression/test_settings_terminator_.yml index 3d7107ff9..b49297df8 100644 --- a/test-data-regression/test_settings_terminator_.yml +++ b/test-data-regression/test_settings_terminator_.yml @@ -9,7 +9,6 @@ settings: settings: radius: 10 radius_min: 5 - cross_section_tip: null doping_layers: - NPP doping_offset: 1.0 diff --git a/test-data-regression/test_settings_text_.yml b/test-data-regression/test_settings_text_.yml index 80e41fc75..3f33542f8 100644 --- a/test-data-regression/test_settings_text_.yml +++ b/test-data-regression/test_settings_text_.yml @@ -5,7 +5,6 @@ name: text settings: justify: left layer: WG - layers: null position: - 0 - 0 diff --git a/test-data-regression/test_settings_text_freetype_.yml b/test-data-regression/test_settings_text_freetype_.yml index 750c9c7ff..471a325af 100644 --- a/test-data-regression/test_settings_text_freetype_.yml +++ b/test-data-regression/test_settings_text_freetype_.yml @@ -6,6 +6,5 @@ settings: font: OCR-A justify: left layer: WG - layers: null size: 10 text: abcd diff --git a/test-data-regression/test_settings_text_rectangular_.yml b/test-data-regression/test_settings_text_rectangular_.yml index b9789f46d..771b860f8 100644 --- a/test-data-regression/test_settings_text_rectangular_.yml +++ b/test-data-regression/test_settings_text_rectangular_.yml @@ -7,7 +7,6 @@ settings: function: rectangular_font justify: left layer: WG - layers: null position: - 0.0 - 0.0 diff --git a/test-data-regression/test_settings_triangle_.yml b/test-data-regression/test_settings_triangle_.yml index ad4d2f998..e470926cc 100644 --- a/test-data-regression/test_settings_triangle_.yml +++ b/test-data-regression/test_settings_triangle_.yml @@ -4,7 +4,6 @@ module: gdsfactory.components.triangles name: triangle settings: layer: WG - layers: null x: 10 xtop: 0 y: 20 diff --git a/test-data-regression/test_settings_via1_.yml b/test-data-regression/test_settings_via1_.yml index b8be08d56..b04b75837 100644 --- a/test-data-regression/test_settings_via1_.yml +++ b/test-data-regression/test_settings_via1_.yml @@ -14,11 +14,7 @@ info: module: gdsfactory.components.via name: via_enclosure2_layerVIA1 settings: - bbox_layers: null - bbox_offset: null - bbox_offsets: null enclosure: 2 - gap: null layer: VIA1 size: - 0.7 diff --git a/test-data-regression/test_settings_via2_.yml b/test-data-regression/test_settings_via2_.yml index e897b9b2d..8957c3ac0 100644 --- a/test-data-regression/test_settings_via2_.yml +++ b/test-data-regression/test_settings_via2_.yml @@ -14,11 +14,7 @@ info: module: gdsfactory.components.via name: via_layerVIA2 settings: - bbox_layers: null - bbox_offset: null - bbox_offsets: null enclosure: 1.0 - gap: null layer: VIA2 size: - 0.7 diff --git a/test-data-regression/test_settings_via_.yml b/test-data-regression/test_settings_via_.yml index 2f4f3e537..bbfefc8c1 100644 --- a/test-data-regression/test_settings_via_.yml +++ b/test-data-regression/test_settings_via_.yml @@ -14,11 +14,7 @@ info: module: gdsfactory.components.via name: via settings: - bbox_layers: null - bbox_offset: null - bbox_offsets: null enclosure: 1.0 - gap: null layer: VIAC size: - 0.7 diff --git a/test-data-regression/test_settings_via_stack_.yml b/test-data-regression/test_settings_via_stack_.yml index abdf3a5b3..08d7cfde1 100644 --- a/test-data-regression/test_settings_via_stack_.yml +++ b/test-data-regression/test_settings_via_stack_.yml @@ -10,8 +10,6 @@ module: gdsfactory.components.via_stack name: via_stack settings: correct_size: true - layer_offsets: null - layer_port: null layers: - M1 - M2 diff --git a/test-data-regression/test_settings_via_stack_corner45_.yml b/test-data-regression/test_settings_via_stack_corner45_.yml index f4b62b8e0..fb9594323 100644 --- a/test-data-regression/test_settings_via_stack_corner45_.yml +++ b/test-data-regression/test_settings_via_stack_corner45_.yml @@ -5,8 +5,6 @@ module: gdsfactory.components.via_stack name: via_stack_corner45 settings: correct_size: true - layer_offsets: null - layer_port: null layers: - M1 - M2 diff --git a/test-data-regression/test_settings_via_stack_from_rules_.yml b/test-data-regression/test_settings_via_stack_from_rules_.yml index 279296eb1..50206fae2 100644 --- a/test-data-regression/test_settings_via_stack_from_rules_.yml +++ b/test-data-regression/test_settings_via_stack_from_rules_.yml @@ -6,8 +6,6 @@ info: module: gdsfactory.components.via_stack name: via_stack_from_rules settings: - layer_offsets: null - layer_port: null layers: - M1 - M2 diff --git a/test-data-regression/test_settings_via_stack_heater_m2_.yml b/test-data-regression/test_settings_via_stack_heater_m2_.yml index c7ad01b2b..13dbe656a 100644 --- a/test-data-regression/test_settings_via_stack_heater_m2_.yml +++ b/test-data-regression/test_settings_via_stack_heater_m2_.yml @@ -10,8 +10,6 @@ module: gdsfactory.components.via_stack name: via_stack_299d6cc0 settings: correct_size: true - layer_offsets: null - layer_port: null layers: - HEATER - M2 diff --git a/test-data-regression/test_settings_via_stack_heater_m3_.yml b/test-data-regression/test_settings_via_stack_heater_m3_.yml index d84d146c3..f93211449 100644 --- a/test-data-regression/test_settings_via_stack_heater_m3_.yml +++ b/test-data-regression/test_settings_via_stack_heater_m3_.yml @@ -10,8 +10,6 @@ module: gdsfactory.components.via_stack name: via_stack_7bdb8e37 settings: correct_size: true - layer_offsets: null - layer_port: null layers: - HEATER - M2 diff --git a/test-data-regression/test_settings_via_stack_heater_mtop_.yml b/test-data-regression/test_settings_via_stack_heater_mtop_.yml index d84d146c3..f93211449 100644 --- a/test-data-regression/test_settings_via_stack_heater_mtop_.yml +++ b/test-data-regression/test_settings_via_stack_heater_mtop_.yml @@ -10,8 +10,6 @@ module: gdsfactory.components.via_stack name: via_stack_7bdb8e37 settings: correct_size: true - layer_offsets: null - layer_port: null layers: - HEATER - M2 diff --git a/test-data-regression/test_settings_via_stack_slab_m3_.yml b/test-data-regression/test_settings_via_stack_slab_m3_.yml index 4a3f1f991..82eddf4e5 100644 --- a/test-data-regression/test_settings_via_stack_slab_m3_.yml +++ b/test-data-regression/test_settings_via_stack_slab_m3_.yml @@ -10,8 +10,6 @@ module: gdsfactory.components.via_stack name: via_stack_a292abbc settings: correct_size: true - layer_offsets: null - layer_port: null layers: - SLAB90 - M1 diff --git a/test-data-regression/test_settings_via_stack_slot_.yml b/test-data-regression/test_settings_via_stack_slot_.yml index d4ce41534..86c13c5ef 100644 --- a/test-data-regression/test_settings_via_stack_slot_.yml +++ b/test-data-regression/test_settings_via_stack_slot_.yml @@ -12,9 +12,6 @@ settings: layer_offsets: - 0 - 1.0 - layer_offsetsx: null - layer_offsetsy: null - layer_port: null layers: - M1 - M2 diff --git a/test-data-regression/test_settings_via_stack_slot_m1_m2_.yml b/test-data-regression/test_settings_via_stack_slot_m1_m2_.yml index d4ce41534..86c13c5ef 100644 --- a/test-data-regression/test_settings_via_stack_slot_m1_m2_.yml +++ b/test-data-regression/test_settings_via_stack_slot_m1_m2_.yml @@ -12,9 +12,6 @@ settings: layer_offsets: - 0 - 1.0 - layer_offsetsx: null - layer_offsetsy: null - layer_port: null layers: - M1 - M2 diff --git a/test-data-regression/test_settings_via_stack_with_offset_.yml b/test-data-regression/test_settings_via_stack_with_offset_.yml index 8c3b33a98..b43e816da 100644 --- a/test-data-regression/test_settings_via_stack_with_offset_.yml +++ b/test-data-regression/test_settings_via_stack_with_offset_.yml @@ -3,15 +3,12 @@ info: {} module: gdsfactory.components.via_stack_with_offset name: via_stack_with_offset settings: - layer_offsets: null layers: - PPP - M1 - offsets: null size: - 10 - 10 - sizes: null vias: - null - function: via diff --git a/test-data-regression/test_settings_viac_.yml b/test-data-regression/test_settings_viac_.yml index 2f4f3e537..bbfefc8c1 100644 --- a/test-data-regression/test_settings_viac_.yml +++ b/test-data-regression/test_settings_viac_.yml @@ -14,11 +14,7 @@ info: module: gdsfactory.components.via name: via settings: - bbox_layers: null - bbox_offset: null - bbox_offsets: null enclosure: 1.0 - gap: null layer: VIAC size: - 0.7 diff --git a/test-data-regression/test_settings_wafer_.yml b/test-data-regression/test_settings_wafer_.yml index 320419721..3eb6c5240 100644 --- a/test-data-regression/test_settings_wafer_.yml +++ b/test-data-regression/test_settings_wafer_.yml @@ -15,5 +15,3 @@ settings: die_name_col_row: false reticle: function: die - xspacing: null - yspacing: null diff --git a/test-data-regression/test_settings_wire_corner45_.yml b/test-data-regression/test_settings_wire_corner45_.yml index 9d0aeade7..96940ea73 100644 --- a/test-data-regression/test_settings_wire_corner45_.yml +++ b/test-data-regression/test_settings_wire_corner45_.yml @@ -5,7 +5,5 @@ module: gdsfactory.components.wire name: wire_corner45 settings: cross_section: xs_metal_routing - layer: null radius: 10 - width: null with_corner90_ports: true diff --git a/tests/gds/mzi2x2.gds b/tests/gds/mzi2x2.gds index a0676f947..bb7cb7713 100644 Binary files a/tests/gds/mzi2x2.gds and b/tests/gds/mzi2x2.gds differ diff --git a/tests/gds/mzi2x2.yml b/tests/gds/mzi2x2.yml index d5964c331..1f0e7eec4 100644 --- a/tests/gds/mzi2x2.yml +++ b/tests/gds/mzi2x2.yml @@ -1,28 +1,21 @@ cells: - bend_euler_5186a2a7: + bend_euler_431a71ec: angle: 90.0 cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 - radius_min: null sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null direction: ccw npoints: null p: 0.5 @@ -80,7 +73,6 @@ cells: length_taper: 10.0 taper: function: taper - width: null width_mmi: 2.5 width_taper: 1.0 straight: @@ -89,94 +81,73 @@ cells: straight_x_top: null straight_y: null with_splitter: true - straight_5d53fdc2: - cross_section: - function: cross_section - length: 7.0 - npoints: 2 - straight_606e39a1: + straight_0de9b122: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 - radius_min: null sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 0.01 npoints: 2 - straight_757c07b1: + straight_5d53fdc2: + cross_section: + function: cross_section + length: 7.0 + npoints: 2 + straight_5e1e2ea7: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 - radius_min: null sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null length: 7.0 npoints: 2 - straight_975a8db9: + straight_dcfdf04b: + cross_section: + function: cross_section + length: 0.1 + npoints: 2 + straight_ebcc6dc8: + cross_section: + function: cross_section + length: 2.0 + npoints: 2 + straight_efe5e1d3: cross_section: - bbox_layers: null - bbox_offsets: null components_along_path: [] radius: 10.0 - radius_min: null sections: - hidden: false - insets: null layer: WG name: _default offset: 0.0 - offset_function: null port_names: - o1 - o2 port_types: - optical - optical - simplify: null width: 0.5 - width_function: null - length: 2.0 - npoints: 2 - straight_dcfdf04b: - cross_section: - function: cross_section - length: 0.1 - npoints: 2 - straight_ebcc6dc8: - cross_section: - function: cross_section length: 2.0 npoints: 2 function: mzi @@ -213,13 +184,9 @@ settings: add_optical_ports_arms: false bend: function: bend_euler - combiner: null cross_section: function: cross_section - 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 @@ -240,12 +207,8 @@ settings: length_taper: 10.0 taper: function: taper - width: null width_mmi: 2.5 width_taper: 1.0 straight: function: straight - straight_x_bot: null - straight_x_top: null - straight_y: null with_splitter: true