itkdb-gtk 0.10.10.dev4__py3-none-any.whl → 0.10.10.dev6__py3-none-any.whl
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/UploadMultipleTests.py +64 -11
- itkdb_gtk/UploadTest.py +5 -4
- itkdb_gtk/VisualInspection.py +272 -0
- itkdb_gtk/WireBondGui.py +296 -148
- itkdb_gtk/__init__.py +6 -6
- itkdb_gtk/dashBoard.py +52 -6
- {itkdb_gtk-0.10.10.dev4.dist-info → itkdb_gtk-0.10.10.dev6.dist-info}/METADATA +1 -1
- {itkdb_gtk-0.10.10.dev4.dist-info → itkdb_gtk-0.10.10.dev6.dist-info}/RECORD +11 -12
- {itkdb_gtk-0.10.10.dev4.dist-info → itkdb_gtk-0.10.10.dev6.dist-info}/WHEEL +1 -1
- {itkdb_gtk-0.10.10.dev4.dist-info → itkdb_gtk-0.10.10.dev6.dist-info}/entry_points.txt +1 -1
- itkdb_gtk/UploadPetalInformation.py +0 -749
- itkdb_gtk/readAVSdata.py +0 -693
- {itkdb_gtk-0.10.10.dev4.dist-info → itkdb_gtk-0.10.10.dev6.dist-info}/top_level.txt +0 -0
itkdb_gtk/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
""" itkdb-gtk python module
|
|
2
2
|
"""
|
|
3
|
-
__version__ = "0.10.10.
|
|
3
|
+
__version__ = "0.10.10.dev6"
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
def dash_board():
|
|
@@ -53,12 +53,12 @@ def wirebondTest():
|
|
|
53
53
|
from .WireBondGui import main
|
|
54
54
|
main()
|
|
55
55
|
|
|
56
|
-
def uploadPetalInformation():
|
|
57
|
-
"""Read files from AVS nd create Petal core in PDB."""
|
|
58
|
-
from .UploadPetalInformation import main
|
|
59
|
-
main()
|
|
60
|
-
|
|
61
56
|
def panelVisualInspection():
|
|
62
57
|
"""Visual inspection of PWB or HYB panels."""
|
|
63
58
|
from .PanelVisualInspection import main
|
|
64
59
|
main()
|
|
60
|
+
|
|
61
|
+
def visualInspection():
|
|
62
|
+
"""Visual inspection of Modules/Sensors."""
|
|
63
|
+
from .VisualInspection import main
|
|
64
|
+
main()
|
itkdb_gtk/dashBoard.py
CHANGED
|
@@ -22,6 +22,7 @@ from itkdb_gtk import GlueWeight
|
|
|
22
22
|
from itkdb_gtk import UploadModuleIV
|
|
23
23
|
from itkdb_gtk import WireBondGui
|
|
24
24
|
from itkdb_gtk import PanelVisualInspection
|
|
25
|
+
from itkdb_gtk import VisualInspection
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
HAS_PETALQC=False
|
|
@@ -29,6 +30,7 @@ try:
|
|
|
29
30
|
from petal_qc.metrology.coreMetrology import CoreMetrology, CoreMetrologyOptions
|
|
30
31
|
from petal_qc.thermal.coreThermal import CoreThermal
|
|
31
32
|
from petal_qc.thermal.IRPetalParam import IRPetalParam
|
|
33
|
+
from petal_qc.metrology.uploadPetalInformation import AVSPanel, AVSOptions
|
|
32
34
|
|
|
33
35
|
HAS_PETALQC = True
|
|
34
36
|
except ImportError as E:
|
|
@@ -53,8 +55,10 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
53
55
|
MOD_IV = 7
|
|
54
56
|
WIRE_BOND = 8
|
|
55
57
|
PANEL_VI = 9
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
MODULE_VI = 10
|
|
59
|
+
PETAL_CORE_METRO = 11
|
|
60
|
+
PETAL_CORE_THERMAL = 12
|
|
61
|
+
PETAL_INFORMATION = 13
|
|
58
62
|
|
|
59
63
|
|
|
60
64
|
def __init__(self, session):
|
|
@@ -107,12 +111,21 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
107
111
|
grid.attach(btnWireBond, 1, irow, 1, 1)
|
|
108
112
|
|
|
109
113
|
irow += 1
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
grid.attach(
|
|
114
|
+
btnPanelVI = Gtk.Button(label="Panel Visual Insp.")
|
|
115
|
+
btnPanelVI.connect("clicked", self.panel_VI)
|
|
116
|
+
grid.attach(btnPanelVI, 1, irow, 1, 1)
|
|
117
|
+
|
|
118
|
+
btnModVI = Gtk.Button(label="Module/Sensor Visual Insp.")
|
|
119
|
+
btnModVI.connect("clicked", self.module_VI)
|
|
120
|
+
grid.attach(btnModVI, 0, irow, 1, 1)
|
|
113
121
|
|
|
114
122
|
|
|
115
123
|
if HAS_PETALQC:
|
|
124
|
+
irow +=1
|
|
125
|
+
btnPetalInfo = Gtk.Button(label="AVS Petal Info")
|
|
126
|
+
btnPetalInfo.connect("clicked", self.upload_petal_info)
|
|
127
|
+
grid.attach(btnPetalInfo, 0, irow, 1, 1)
|
|
128
|
+
|
|
116
129
|
irow +=1
|
|
117
130
|
btnPetalMetrology = Gtk.Button(label="Petal Core Metrology")
|
|
118
131
|
btnPetalMetrology.connect("clicked", self.petal_metrology)
|
|
@@ -242,7 +255,39 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
242
255
|
return
|
|
243
256
|
|
|
244
257
|
self.mask |= bt
|
|
245
|
-
W = PanelVisualInspection.PanelVisualInspection(session=self.session,
|
|
258
|
+
W = PanelVisualInspection.PanelVisualInspection(session=self.session,
|
|
259
|
+
title="Panel Visual Inspection",
|
|
260
|
+
help_link=HELP_LINK)
|
|
261
|
+
W.connect("destroy", self.app_closed, bitn)
|
|
262
|
+
W.show_all()
|
|
263
|
+
|
|
264
|
+
def module_VI(self, *args):
|
|
265
|
+
"""Panel VI tests."""
|
|
266
|
+
bitn = DashWindow.MODULE_VI
|
|
267
|
+
bt = 1 << bitn
|
|
268
|
+
if self.mask & bt:
|
|
269
|
+
return
|
|
270
|
+
|
|
271
|
+
self.mask |= bt
|
|
272
|
+
W = VisualInspection.ModuleVisualInspection(session=self.session,
|
|
273
|
+
title="Module/Sensor Visual Inspection",
|
|
274
|
+
help_link=HELP_LINK)
|
|
275
|
+
W.connect("destroy", self.app_closed, bitn)
|
|
276
|
+
W.show_all()
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
def upload_petal_info(self, *srgs):
|
|
280
|
+
"""Upload petal Info."""
|
|
281
|
+
if not HAS_PETALQC:
|
|
282
|
+
return
|
|
283
|
+
|
|
284
|
+
bitn = DashWindow.PETAL_INFORMATION
|
|
285
|
+
bt = 1 << bitn
|
|
286
|
+
if self.mask & bt:
|
|
287
|
+
return
|
|
288
|
+
|
|
289
|
+
self.mask |= bt
|
|
290
|
+
W = AVSPanel(self.session, AVSOptions())
|
|
246
291
|
W.connect("destroy", self.app_closed, bitn)
|
|
247
292
|
W.show_all()
|
|
248
293
|
|
|
@@ -252,6 +297,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
252
297
|
if not HAS_PETALQC:
|
|
253
298
|
return
|
|
254
299
|
|
|
300
|
+
|
|
255
301
|
bitn = DashWindow.PETAL_CORE_METRO
|
|
256
302
|
bt = 1 << bitn
|
|
257
303
|
if self.mask & bt:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itkdb_gtk
|
|
3
|
-
Version: 0.10.10.
|
|
3
|
+
Version: 0.10.10.dev6
|
|
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
|
|
@@ -12,18 +12,17 @@ itkdb_gtk/ShowAttachments.py,sha256=KExxPCdbcb04XS8JSUkg5xF1McvlB8e9btwctDCKNXU,
|
|
|
12
12
|
itkdb_gtk/ShowComments.py,sha256=OiMTFLnhGbbKRj5x61D517BYHAt-qY5Y1lvR3EQz3c0,3151
|
|
13
13
|
itkdb_gtk/ShowDefects.py,sha256=aVAHeaE5IztmAPEuHwhi06KWo_pi9xX2J1fTLhKyAPI,3530
|
|
14
14
|
itkdb_gtk/UploadModuleIV.py,sha256=sqh52bSxANBwlmVWZlDqFXpqRGf0rV0QsjJWC-tY_qI,17792
|
|
15
|
-
itkdb_gtk/UploadMultipleTests.py,sha256=
|
|
16
|
-
itkdb_gtk/
|
|
17
|
-
itkdb_gtk/
|
|
18
|
-
itkdb_gtk/WireBondGui.py,sha256=
|
|
19
|
-
itkdb_gtk/__init__.py,sha256=
|
|
20
|
-
itkdb_gtk/dashBoard.py,sha256=
|
|
15
|
+
itkdb_gtk/UploadMultipleTests.py,sha256=8LgbIE7g6zdx4zAqM_Y3DungVnxyStiexhOvjruc4H0,24190
|
|
16
|
+
itkdb_gtk/UploadTest.py,sha256=HVAdMRpicxG5Qr5Hj9LL5tVsSz1tTGaGbeolz-BaFrE,16717
|
|
17
|
+
itkdb_gtk/VisualInspection.py,sha256=jxeNSEM0fAW2toLJjIUa2h3UqY19jHVV74dbBF0UKoY,8907
|
|
18
|
+
itkdb_gtk/WireBondGui.py,sha256=8kA5S6MCl_DUeszdBn9z9kR3kRHe0sI0wRU_akBJqDo,38711
|
|
19
|
+
itkdb_gtk/__init__.py,sha256=vuPPJz2gOqCwUy2lsY0bwOKzJ9c8_0SXCtDkgRFjUac,1269
|
|
20
|
+
itkdb_gtk/dashBoard.py,sha256=ZGeG0su0C7LGzXrcBu8KKfzeneuqkVLieF-6s6yGCgc,10563
|
|
21
21
|
itkdb_gtk/dbGtkUtils.py,sha256=THW-IT5UJB1YluvUVIfpy6oIY2faSHChNKGTpY5qzag,30480
|
|
22
|
-
itkdb_gtk/readAVSdata.py,sha256=NFJ7XYUeKbTxPKfu0kEjq8wBErS88bCFmNpjQyA2jcM,23478
|
|
23
22
|
itkdb_gtk/readGoogleSheet.py,sha256=Lzm_oPWwDqZZzKoBUgsp277F9-wCfr_BA0X4VD2Eolo,2673
|
|
24
23
|
itkdb_gtk/untrash_component.py,sha256=VrN46-f-kF7voOxtoh7OL-bZSWAaIFb7-Xbx6_WT7K8,757
|
|
25
|
-
itkdb_gtk-0.10.10.
|
|
26
|
-
itkdb_gtk-0.10.10.
|
|
27
|
-
itkdb_gtk-0.10.10.
|
|
28
|
-
itkdb_gtk-0.10.10.
|
|
29
|
-
itkdb_gtk-0.10.10.
|
|
24
|
+
itkdb_gtk-0.10.10.dev6.dist-info/METADATA,sha256=dYG6wCAoE9_jSPfHpwb5KYVZzP_4noMR_A7YrTEEaCU,3156
|
|
25
|
+
itkdb_gtk-0.10.10.dev6.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
26
|
+
itkdb_gtk-0.10.10.dev6.dist-info/entry_points.txt,sha256=51wi4BRW1vYuLNySWC6bsmQPo7XPI7cvPFAaBD49Ib0,489
|
|
27
|
+
itkdb_gtk-0.10.10.dev6.dist-info/top_level.txt,sha256=KVRrH4OS8ovzNR9bvADE0ABn5bNpSk987tuH0jCfkbU,10
|
|
28
|
+
itkdb_gtk-0.10.10.dev6.dist-info/RECORD,,
|
|
@@ -7,6 +7,6 @@ panelVisualInspection = itkdb_gtk:panelVisualInspection
|
|
|
7
7
|
petalReceptionTests = itkdb_gtk:petalReceptionTests
|
|
8
8
|
uploadModuleIV = itkdb_gtk:uploadModuleIV
|
|
9
9
|
uploadMultipleTests = itkdb_gtk:uploadMultipleTests
|
|
10
|
-
uploadPetalInformation = itkdb_gtk:uploadPetalInformation
|
|
11
10
|
uploadTest = itkdb_gtk:uploadTest
|
|
11
|
+
visualInspection = itkdb_gtk:visualInspection
|
|
12
12
|
wirebondTest = itkdb_gtk:wirebondTest
|