Skip to content

Commit

Permalink
pre-commit, and touchups to make everything work
Browse files Browse the repository at this point in the history
  • Loading branch information
simbilod committed Nov 1, 2022
1 parent eb78f84 commit 64756af
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
17 changes: 10 additions & 7 deletions gdsfactory/simulation/devsim/__init__.py
@@ -1,12 +1,15 @@
from gdsfactory.config import logger
from gdsfactory.simulation import plot, port_symmetries
import devsim as tcad
from gdsfactory.simulation.get_sparameters_path import get_sparameters_data_meep
from gdsfactory.simulation.devsim.get_simulation_xsection import get_simulation_xsection

from gdsfactory.config import logger
from gdsfactory.simulation.devsim.get_simulation_xsection import (
PINWaveguide,
alpha_to_k,
dalpha_carriers,
dn_carriers,
k_to_alpha,
)

logger.info(f"DEVSIM {tcad.__version__!r} installed at {tcad.__path__!r}")

__all__ = [
"get_simulation_xsection",
]
__all__ = ["dn_carriers", "dalpha_carriers", "alpha_to_k", "k_to_alpha", "PINWaveguide"]
__version__ = "0.0.1"
4 changes: 4 additions & 0 deletions requirements_devsim.txt
@@ -0,0 +1,4 @@
devsim
mkl
pyvista
tidy3d-beta==1.7.1
3 changes: 0 additions & 3 deletions requirements_full.txt
@@ -1,20 +1,17 @@
autograd
bokeh
devsim
freetype-py
holoviews
ipympl
ipywidgets
klayout
lytest==0.0.20
mapbox_earcut
mkl
networkx
nlopt
phidl
pyglet
pygmsh
pyvista
sax==0.8.4
scikit-fem
scikit-image
Expand Down
6 changes: 6 additions & 0 deletions setup.py
Expand Up @@ -30,6 +30,11 @@
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]

with open("requirements_devsim.txt") as f:
requirements_devsim = [
line.strip() for line in f.readlines() if not line.strip().startswith("-")
]

with open("README.md") as f:
long_description = f.read()

Expand All @@ -55,6 +60,7 @@
"full": list(set(requirements + requirements_full)),
"sipann": requirements_sipann,
"tidy3d": requirements_tidy3d,
"devsim": requirements_devsim,
"dev": list(set(requirements + requirements_dev)),
"exp": list(set(requirements + requirements_exp)),
},
Expand Down

0 comments on commit 64756af

Please sign in to comment.