Skip to content

Commit 97a4636

Browse files
Release v1.1.2
Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
1 parent 5de5ab6 commit 97a4636

File tree

7 files changed

+11
-1092
lines changed

7 files changed

+11
-1092
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ Installation via `pip`:
1515
pip install siepic-forge
1616

1717

18-
### PhotonForge Web UI
19-
20-
1. [Download from PyPI](https://pypi.org/project/siepic-forge/#files) the
21-
latest wheel file: `siepic_forge-*-py3-none-any.whl`.
22-
23-
2. In the PhotonForge web interface, upload that file to load the EBeam PDK.
24-
25-
2618
## Usage
2719

2820
The simplest way to use the this PDK in PhotonForge is to set its technology as

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[project]
22
name = "siepic-forge"
3-
version = "1.1.1"
3+
version = "1.1.2"
44
authors = [{name = "Flexcompute Inc.", email = "info@flexcompute.com"}]
55
description = "SiEPIC PDK implementation for PhotonForge"
66
readme = "README.md"
7-
dependencies = ["photonforge > 1.1.7"] # Need typing submodule
7+
dependencies = ["photonforge >= 1.2.1"] # Need typing submodule
88

99
[project.optional-dependencies]
1010
test = ["pytest >= 7.2"]

siepic_forge/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .technology import ebeam
22
from .component import component, component_names
33

4-
__version__ = "1.1.1"
4+
__version__ = "1.1.2"

siepic_forge/_ui_.py

Lines changed: 0 additions & 893 deletions
This file was deleted.

siepic_forge/technology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def ebeam(
3333
"electrical": td.Medium(permittivity=7.5, name="Si3N4"),
3434
},
3535
router_metal: dict[str, pft.Medium] = {
36-
"optical": td.material_library["Au"]["JohnsonChristy1972"],
36+
"optical": td.material_library["Au"]["Olmon2012evaporated"],
3737
"electrical": td.LossyMetalMedium(
3838
conductivity=17,
3939
frequency_range=[0.1e9, 200e9],

tests/technology_test.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
def test_export(tmp_path):
66
tech = siepic.ebeam()
7-
tech_file = tmp_path / "tech.json"
8-
tech.write_json(tech_file)
9-
tech_loaded = pf.Technology.load_json(tech_file)
7+
tech_file = tmp_path / "tech.phf"
8+
pf.write_phf(tech_file, tech)
9+
tech_loaded = pf.load_phf(tech_file)["technologies"][0]
1010
assert tech_loaded.name == tech.name
1111
assert tech_loaded.version == tech.version
1212
assert tech_loaded.layers == tech.layers
1313
assert tech_loaded.ports == tech.ports
14-
# assert tech_loaded.extrusion_specs == tech.extrusion_specs
15-
# assert tech_loaded.background_medium == tech.background_medium
16-
# assert tech_loaded == tech
14+
assert tech_loaded.extrusion_specs == tech.extrusion_specs
15+
assert tech_loaded.background_medium == tech.background_medium
16+
assert tech_loaded == tech
17+
1718

ui_generator.py

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)