itkdb-gtk 0.10.3__tar.gz → 0.10.5__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.

Potentially problematic release.


This version of itkdb-gtk might be problematic. Click here for more details.

Files changed (37) hide show
  1. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/PKG-INFO +1 -1
  2. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/__init__.py +1 -1
  3. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/dashBoard.py +36 -10
  4. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/PKG-INFO +1 -1
  5. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/pyproject.toml +1 -1
  6. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/README.md +0 -0
  7. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/CreateShipments.py +0 -0
  8. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/GetShipments.py +0 -0
  9. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/GlueWeight.py +0 -0
  10. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ITkDB.desktop +0 -0
  11. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ITkDB.svg +0 -0
  12. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ITkDBlogin.py +0 -0
  13. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ITkDButils.py +0 -0
  14. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/PanelVisualInspection.py +0 -0
  15. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/PetalReceptionTests.py +0 -0
  16. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/SensorUtils.py +0 -0
  17. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ShowAttachments.py +0 -0
  18. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ShowComments.py +0 -0
  19. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/ShowDefects.py +0 -0
  20. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/UploadModuleIV.py +0 -0
  21. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/UploadMultipleTests.py +0 -0
  22. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/UploadPetalInformation.py +0 -0
  23. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/UploadTest.py +0 -0
  24. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/WireBondGui.py +0 -0
  25. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/dbGtkUtils.py +0 -0
  26. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/readAVSdata.py +0 -0
  27. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/readGoogleSheet.py +0 -0
  28. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk/untrash_component.py +0 -0
  29. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/SOURCES.txt +0 -0
  30. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
  31. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/entry_points.txt +0 -0
  32. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/requires.txt +0 -0
  33. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/itkdb_gtk.egg-info/top_level.txt +0 -0
  34. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/setup.cfg +0 -0
  35. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/test/testAnimated.py +0 -0
  36. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/test/testComponent.py +0 -0
  37. {itkdb_gtk-0.10.3 → itkdb_gtk-0.10.5}/test/test_holes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.10.3
3
+ Version: 0.10.5
4
4
  Summary: A collection of Gtk based GUI to access ITkDB.
5
5
  Author-email: Carlos Lacasta <carlos.lacasta@cern.ch>
6
6
  Project-URL: Homepage, https://gitlab.cern.ch/atlas-itk/sw/db/itk-pdb-gtk-gui-utils
@@ -1,6 +1,6 @@
1
1
  """ itkdb-gtk python module
2
2
  """
3
- __version__ = "0.10.3"
3
+ __version__ = "0.10.5"
4
4
 
5
5
 
6
6
  def dash_board():
@@ -4,13 +4,13 @@ import sys
4
4
 
5
5
  try:
6
6
  import itkdb_gtk
7
-
7
+
8
8
  except ImportError:
9
9
  from pathlib import Path
10
10
  cwd = Path(__file__).parent.parent
11
11
  sys.path.append(cwd.as_posix())
12
-
13
-
12
+
13
+
14
14
  from itkdb_gtk import dbGtkUtils
15
15
  from itkdb_gtk import GetShipments
16
16
  from itkdb_gtk import PetalReceptionTests
@@ -26,10 +26,13 @@ from itkdb_gtk import WireBondGui
26
26
  HAS_PETALQC=False
27
27
  try:
28
28
  from petal_qc.metrology.coreMetrology import CoreMetrology, CoreMetrologyOptions
29
+ from petal_qc.thermal.coreThermal import CoreThermal
30
+ from petal_qc.thermal.IRPetalParam import IRPetalParam
31
+
29
32
  HAS_PETALQC = True
30
33
  except ImportError as E:
31
34
  HAS_PETALQC = False
32
-
35
+
33
36
 
34
37
  import gi
35
38
 
@@ -50,7 +53,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
50
53
  WIRE_BOND = 8
51
54
  PETAL_CORE_METRO=9
52
55
  PETAL_CORE_THERMAL=10
53
-
56
+
54
57
  def __init__(self, session):
55
58
  """Initialization."""
56
59
  super().__init__(title="ITkDB Dashboard", session=session, help=HELP_LINK)
@@ -99,13 +102,17 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
99
102
  btnWireBond = Gtk.Button(label="Wire Bond")
100
103
  btnWireBond.connect("clicked", self.wire_bond)
101
104
  grid.attach(btnWireBond, 1, irow, 1, 1)
102
-
105
+
103
106
  if HAS_PETALQC:
104
107
  irow +=1
105
108
  btnPetalMetrology = Gtk.Button(label="Petal Core Metrology")
106
109
  btnPetalMetrology.connect("clicked", self.petal_metrology)
107
110
  grid.attach(btnPetalMetrology, 0, irow, 1, 1)
108
-
111
+
112
+ btnPetalThermal = Gtk.Button(label="Petal Core Thermal")
113
+ btnPetalThermal.connect("clicked", self.petal_thermal)
114
+ grid.attach(btnPetalThermal, 1, irow, 1, 1)
115
+
109
116
 
110
117
  irow += 1
111
118
  grid.attach(Gtk.Label(), 0, irow, 1, 1)
@@ -217,12 +224,12 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
217
224
  W = WireBondGui.WireBond(session=self.session, title="Wirebond", help=HELP_LINK)
218
225
  W.connect("destroy", self.app_closed, bitn)
219
226
  W.show_all()
220
-
227
+
221
228
  def petal_metrology(self, *args):
222
229
  """Do petal metrology"""
223
230
  if not HAS_PETALQC:
224
231
  return
225
-
232
+
226
233
  bitn = DashWindow.PETAL_CORE_METRO
227
234
  bt = 1 << bitn
228
235
  if self.mask & bt:
@@ -233,7 +240,26 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
233
240
  W = CoreMetrology(opts, session=self.session, title="Petal Core Metrology")
234
241
  W.connect("destroy", self.app_closed, bitn)
235
242
  W.show_all()
236
-
243
+
244
+ def petal_thermal(self, *args):
245
+ """Do petal thermal."""
246
+ if not HAS_PETALQC:
247
+ return
248
+
249
+ bitn = DashWindow.PETAL_CORE_THERMAL
250
+ bt = 1 << bitn
251
+ if self.mask & bt:
252
+ return
253
+
254
+ self.mask |= bt
255
+ opt = IRPetalParam()
256
+ opt.folder = None
257
+ opt.out = None
258
+ opt.alias = None
259
+ opt.SN = None
260
+ W = CoreThermal(opt, self.session, title="Petal Thermal Test.")
261
+ W.connect("destroy", self.app_closed, bitn)
262
+ W.show_all()
237
263
 
238
264
  def app_closed(self, *args):
239
265
  """Application window closed. Clear mask."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.10.3
3
+ Version: 0.10.5
4
4
  Summary: A collection of Gtk based GUI to access ITkDB.
5
5
  Author-email: Carlos Lacasta <carlos.lacasta@cern.ch>
6
6
  Project-URL: Homepage, https://gitlab.cern.ch/atlas-itk/sw/db/itk-pdb-gtk-gui-utils
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "itkdb_gtk"
7
- version = "0.10.3"
7
+ version = "0.10.5"
8
8
  authors = [
9
9
  { name="Carlos Lacasta", email="carlos.lacasta@cern.ch" },
10
10
  ]
File without changes
File without changes