itkdb-gtk 0.10.10.dev6__tar.gz → 0.10.10.dev7__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.10.dev6 → itkdb_gtk-0.10.10.dev7}/PKG-INFO +1 -1
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/VisualInspection.py +45 -18
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/__init__.py +1 -1
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/PKG-INFO +1 -1
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/pyproject.toml +1 -1
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/README.md +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/CreateShipments.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/GetShipments.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/GlueWeight.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ITkDB.desktop +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ITkDB.svg +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ITkDBlogin.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ITkDButils.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/PanelVisualInspection.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/PetalReceptionTests.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/SensorUtils.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ShowAttachments.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ShowComments.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/ShowDefects.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/UploadModuleIV.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/UploadMultipleTests.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/UploadTest.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/WireBondGui.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/dashBoard.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/dbGtkUtils.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/readGoogleSheet.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk/untrash_component.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/SOURCES.txt +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/entry_points.txt +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/requires.txt +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/itkdb_gtk.egg-info/top_level.txt +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/setup.cfg +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/testAnimated.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/testBatch.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/testComponent.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/testRange.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/testThread.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/test/test_attachment.py +0 -0
- {itkdb_gtk-0.10.10.dev6 → itkdb_gtk-0.10.10.dev7}/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.10.
|
|
3
|
+
Version: 0.10.10.dev7
|
|
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
|
|
@@ -41,6 +41,7 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
41
41
|
self.global_image = None
|
|
42
42
|
self.global_link = None
|
|
43
43
|
self.data = None
|
|
44
|
+
self.currentStage = None
|
|
44
45
|
self.attachments = []
|
|
45
46
|
self.comments = []
|
|
46
47
|
self.defects = []
|
|
@@ -54,7 +55,7 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
54
55
|
button.connect("clicked", self.upload_test)
|
|
55
56
|
self.hb.pack_end(button)
|
|
56
57
|
|
|
57
|
-
grid = Gtk.Grid(column_spacing=
|
|
58
|
+
grid = Gtk.Grid(column_spacing=10, row_spacing=5)
|
|
58
59
|
self.mainBox.pack_start(grid, False, False, 5)
|
|
59
60
|
|
|
60
61
|
irow = 0
|
|
@@ -67,6 +68,11 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
67
68
|
lbl.set_xalign(0)
|
|
68
69
|
grid.attach(lbl, 0, irow, 1, 1)
|
|
69
70
|
grid.attach(receiver, 1, irow, 1, 1)
|
|
71
|
+
|
|
72
|
+
self.obj_type = None
|
|
73
|
+
self.obj_type_label = Gtk.Label()
|
|
74
|
+
self.obj_type_label.set_xalign(0)
|
|
75
|
+
grid.attach(self.obj_type_label, 2, irow, 1, 1)
|
|
70
76
|
|
|
71
77
|
irow += 1
|
|
72
78
|
lbl = Gtk.Label(label="Serial Number")
|
|
@@ -78,9 +84,15 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
78
84
|
self.SN.widget.set_tooltip_text("Enter SN of module.")
|
|
79
85
|
grid.attach(self.SN.widget, 1, irow, 1, 1)
|
|
80
86
|
|
|
81
|
-
|
|
82
|
-
self.
|
|
83
|
-
|
|
87
|
+
|
|
88
|
+
self.passed = Gtk.Switch()
|
|
89
|
+
self.passed.props.halign = Gtk.Align.START
|
|
90
|
+
self.passed.set_active(True)
|
|
91
|
+
lbl = Gtk.Label(label="Passed")
|
|
92
|
+
lbl.set_xalign(0)
|
|
93
|
+
grid.attach(lbl, 2, irow, 1, 1)
|
|
94
|
+
grid.attach(self.passed, 3, irow, 1, 1)
|
|
95
|
+
|
|
84
96
|
|
|
85
97
|
irow += 1
|
|
86
98
|
lbl = Gtk.Label(label="Date")
|
|
@@ -92,24 +104,26 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
92
104
|
self.date.entry.set_text(ITkDButils.get_db_date())
|
|
93
105
|
self.date.connect("text_changed", self.new_date)
|
|
94
106
|
|
|
95
|
-
irow +=1
|
|
96
|
-
self.passed = Gtk.Switch()
|
|
97
|
-
self.passed.props.halign = Gtk.Align.START
|
|
98
|
-
self.passed.set_active(True)
|
|
99
|
-
lbl = Gtk.Label(label="Passed")
|
|
100
|
-
lbl.set_xalign(0)
|
|
101
|
-
grid.attach(lbl, 0, irow, 1, 1)
|
|
102
|
-
grid.attach(self.passed, 1, irow, 1, 1)
|
|
103
|
-
|
|
104
|
-
irow +=1
|
|
105
107
|
self.problems = Gtk.Switch()
|
|
106
108
|
self.problems.props.halign = Gtk.Align.START
|
|
107
109
|
self.problems.set_active(False)
|
|
108
110
|
lbl = Gtk.Label(label="Problems")
|
|
109
111
|
lbl.set_xalign(0)
|
|
112
|
+
grid.attach(lbl, 2, irow, 1, 1)
|
|
113
|
+
grid.attach(self.problems, 3, irow, 1, 1)
|
|
114
|
+
|
|
115
|
+
irow +=1
|
|
116
|
+
self.reception = Gtk.Switch()
|
|
117
|
+
self.reception.props.halign = Gtk.Align.START
|
|
118
|
+
self.reception.set_active(False)
|
|
119
|
+
lbl = Gtk.Label(label="Reception VI")
|
|
120
|
+
lbl.set_xalign(0)
|
|
110
121
|
grid.attach(lbl, 0, irow, 1, 1)
|
|
111
|
-
grid.attach(self.
|
|
122
|
+
grid.attach(self.reception, 1, irow, 1, 1)
|
|
112
123
|
|
|
124
|
+
irow +=1
|
|
125
|
+
lbl = Gtk.Label()
|
|
126
|
+
grid.attach(lbl, 0, irow, 1, 1)
|
|
113
127
|
|
|
114
128
|
# The "Add attachment" button.
|
|
115
129
|
box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
|
|
@@ -155,16 +169,23 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
155
169
|
|
|
156
170
|
SN = module["serialNumber"]
|
|
157
171
|
if module_type.match(SN):
|
|
158
|
-
self.obj_type_label.
|
|
172
|
+
self.obj_type_label.set_markup("<b><big>Module</big></b>")
|
|
159
173
|
self.obj_type = "MODULE"
|
|
160
174
|
elif sensor_type.match(SN):
|
|
161
|
-
self.obj_type_label.set_text("Sensor")
|
|
175
|
+
self.obj_type_label.set_text("<b><big>Sensor</big></b>")
|
|
162
176
|
self.obj_type = "SENSOR"
|
|
163
177
|
else:
|
|
164
178
|
self.obj_type_label.set_text("Invalid SN")
|
|
165
179
|
self.obj_type = None
|
|
166
180
|
dbGtkUtils.complain("Invalid SN", "Not a module nor a sensor.")
|
|
167
181
|
|
|
182
|
+
self.reception.set_sensitive(True)
|
|
183
|
+
self.reception.set_active(False)
|
|
184
|
+
self.currentStage = module["currentStage"]["code"]
|
|
185
|
+
if self.obj_type == "MODULE" and self.currentStage == "AT_LOADING_SITE":
|
|
186
|
+
self.reception.set_active(True)
|
|
187
|
+
self.reception.set_sensitive(False)
|
|
188
|
+
|
|
168
189
|
args[0].set_text(SN)
|
|
169
190
|
|
|
170
191
|
|
|
@@ -222,10 +243,16 @@ class ModuleVisualInspection(dbGtkUtils.ITkDBWindow):
|
|
|
222
243
|
"runNumber": "1",
|
|
223
244
|
"date": self.date.get_text()
|
|
224
245
|
}
|
|
246
|
+
|
|
225
247
|
test_type = "VISUAL_INSPECTION"
|
|
226
248
|
if self.obj_type == "SENSOR":
|
|
227
249
|
test_type = "VIS_INSP_RES_MOD_V2"
|
|
228
|
-
|
|
250
|
+
|
|
251
|
+
else:
|
|
252
|
+
if self.reception.get_active():
|
|
253
|
+
test_type = "VISUAL_INSPECTION_RECEPTION"
|
|
254
|
+
|
|
255
|
+
|
|
229
256
|
self.data = ITkDButils.get_test_skeleton(self.session,
|
|
230
257
|
self.obj_type,
|
|
231
258
|
test_type,
|
|
@@ -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.dev7
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|