setupEM 0.3.12__tar.gz → 0.3.13__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {setupem-0.3.12 → setupem-0.3.13}/PKG-INFO +3 -1
  2. {setupem-0.3.12 → setupem-0.3.13}/pyproject.toml +4 -2
  3. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/setup_common.py +12 -2
  4. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/PKG-INFO +3 -1
  5. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/requires.txt +2 -0
  6. {setupem-0.3.12 → setupem-0.3.13}/README.md +0 -0
  7. {setupem-0.3.12 → setupem-0.3.13}/setup.cfg +0 -0
  8. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/__init__.py +0 -0
  9. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/__main__.py +0 -0
  10. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/data/SG13G2_100um.xml +0 -0
  11. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/data/SG13G2_200um.xml +0 -0
  12. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/data/SG13G2_200um_with_parameters.xml +0 -0
  13. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/data/SG13G2_nosub.xml +0 -0
  14. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/momentum_import.py +0 -0
  15. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/setupEM.py +0 -0
  16. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/setupThermal.py +0 -0
  17. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/stackupEditor.py +0 -0
  18. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM/stackup_writer.py +0 -0
  19. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/SOURCES.txt +0 -0
  20. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/dependency_links.txt +0 -0
  21. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/entry_points.txt +0 -0
  22. {setupem-0.3.12 → setupem-0.3.13}/src/setupEM.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: setupEM
3
- Version: 0.3.12
3
+ Version: 0.3.13
4
4
  Summary: Python tool for configuration of gds2palace workflow with GUI.
5
5
  Author-email: Volker Muehlhaus <volker@muehlhaus.com>
6
6
  Requires-Python: >=3.9
@@ -11,6 +11,8 @@ Requires-Dist: scipy
11
11
  Requires-Dist: requests
12
12
  Requires-Dist: scikit-rf
13
13
  Requires-Dist: matplotlib
14
+ Requires-Dist: numpy
15
+ Requires-Dist: gdspy
14
16
 
15
17
  # Python GUI for gds2palace
16
18
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "setupEM"
7
- version = "0.3.12"
7
+ version = "0.3.13"
8
8
  description = "Python tool for configuration of gds2palace workflow with GUI."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -16,7 +16,9 @@ dependencies = [
16
16
  "scipy",
17
17
  "requests",
18
18
  "scikit-rf",
19
- "matplotlib"
19
+ "matplotlib",
20
+ "numpy",
21
+ "gdspy"
20
22
  ]
21
23
  requires-python = ">=3.9"
22
24
 
@@ -370,7 +370,7 @@ class FileInputTab(QWidget):
370
370
  self.XML_show_layout.setAlignment(Qt.AlignRight)
371
371
  self.show_XML_btn = QPushButton("Show Stackup")
372
372
  self.show_XML_btn.setFixedWidth(150)
373
- self.show_XML_btn.clicked.connect(self.MainWindow.open_popup)
373
+ self.show_XML_btn.clicked.connect(self.show_stackup)
374
374
  self.XML_show_layout.addWidget(self.show_XML_btn)
375
375
  self.XML_layout.addLayout(self.XML_show_layout)
376
376
 
@@ -662,6 +662,15 @@ class FileInputTab(QWidget):
662
662
 
663
663
  return True # Tab change only possible when returning True
664
664
 
665
+ def show_stackup(self):
666
+ # "Show Stackup" is a plain button click, not a tab change, so nothing
667
+ # would otherwise flush the override grid into saved_values/materials_list
668
+ # before the popup reads them - save first so edited overrides not yet
669
+ # committed by switching tabs still show up in the preview.
670
+ if not self.save_values():
671
+ return
672
+ self.MainWindow.open_popup()
673
+
665
674
 
666
675
  # ---- Python Syntax Highlighter ----
667
676
  class PythonHighlighter(QSyntaxHighlighter):
@@ -1815,7 +1824,8 @@ class MainWindowBase(QMainWindow):
1815
1824
  def read_XML(self):
1816
1825
  filename = self.saved_values["SubstrateFile"]
1817
1826
  if pathlib.Path(filename).exists():
1818
- self.materials_list, self.dielectrics_list, self.metals_list = stackup_reader.read_substrate(filename)
1827
+ self.materials_list, self.dielectrics_list, self.metals_list = stackup_reader.read_substrate(
1828
+ filename, variable_overrides=self.saved_values.get("variable_overrides"))
1819
1829
  self.update_target_layer_choices(self.metals_list)
1820
1830
  self.file_tab.update_XML_description(filename)
1821
1831
  self.file_tab.update_variable_overrides_grid(filename)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: setupEM
3
- Version: 0.3.12
3
+ Version: 0.3.13
4
4
  Summary: Python tool for configuration of gds2palace workflow with GUI.
5
5
  Author-email: Volker Muehlhaus <volker@muehlhaus.com>
6
6
  Requires-Python: >=3.9
@@ -11,6 +11,8 @@ Requires-Dist: scipy
11
11
  Requires-Dist: requests
12
12
  Requires-Dist: scikit-rf
13
13
  Requires-Dist: matplotlib
14
+ Requires-Dist: numpy
15
+ Requires-Dist: gdspy
14
16
 
15
17
  # Python GUI for gds2palace
16
18
 
@@ -4,3 +4,5 @@ scipy
4
4
  requests
5
5
  scikit-rf
6
6
  matplotlib
7
+ numpy
8
+ gdspy
File without changes
File without changes