itkdb-gtk 0.10.2__tar.gz → 0.10.4__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.
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/PKG-INFO +1 -1
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/WireBondGui.py +5 -1
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/__init__.py +1 -1
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/dashBoard.py +36 -10
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/PKG-INFO +1 -1
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/pyproject.toml +1 -1
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/README.md +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/CreateShipments.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/GetShipments.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/GlueWeight.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ITkDB.desktop +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ITkDB.svg +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ITkDBlogin.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ITkDButils.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/PanelVisualInspection.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/PetalReceptionTests.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/SensorUtils.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ShowAttachments.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ShowComments.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/ShowDefects.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/UploadModuleIV.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/UploadMultipleTests.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/UploadPetalInformation.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/UploadTest.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/dbGtkUtils.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/readAVSdata.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/readGoogleSheet.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk/untrash_component.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/SOURCES.txt +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/entry_points.txt +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/requires.txt +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/itkdb_gtk.egg-info/top_level.txt +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/setup.cfg +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/test/testAnimated.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/test/testComponent.py +0 -0
- {itkdb_gtk-0.10.2 → itkdb_gtk-0.10.4}/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
|
+
Version: 0.10.4
|
|
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
|
|
@@ -750,7 +750,11 @@ class WireBond(dbGtkUtils.ITkDBWindow):
|
|
|
750
750
|
|
|
751
751
|
def parse(self, data):
|
|
752
752
|
"""Parses a JSon dictionary."""
|
|
753
|
-
|
|
753
|
+
try:
|
|
754
|
+
dbGtkUtils.set_combo_iter(self.inst_combo, data["institution"])
|
|
755
|
+
except KeyError:
|
|
756
|
+
self.write_message("institution value is not in the loaded file.")
|
|
757
|
+
|
|
754
758
|
self.operator.set_text(data["properties"]["OPERATOR"])
|
|
755
759
|
self.machine.set_text(data["properties"]["BOND_MACHINE"])
|
|
756
760
|
self.batch.set_text(data["properties"]["BONDWIRE_BATCH"])
|
|
@@ -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
|
+
Version: 0.10.4
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|