itkdb-gtk 0.0.2__py3-none-any.whl → 0.0.3__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.
- itkdb_gtk/GlueWeight.py +8 -3
- itkdb_gtk/dashBoard.py +12 -4
- {itkdb_gtk-0.0.2.dist-info → itkdb_gtk-0.0.3.dist-info}/METADATA +1 -1
- {itkdb_gtk-0.0.2.dist-info → itkdb_gtk-0.0.3.dist-info}/RECORD +7 -7
- {itkdb_gtk-0.0.2.dist-info → itkdb_gtk-0.0.3.dist-info}/WHEEL +0 -0
- {itkdb_gtk-0.0.2.dist-info → itkdb_gtk-0.0.3.dist-info}/entry_points.txt +0 -0
- {itkdb_gtk-0.0.2.dist-info → itkdb_gtk-0.0.3.dist-info}/top_level.txt +0 -0
itkdb_gtk/GlueWeight.py
CHANGED
|
@@ -166,7 +166,7 @@ class GlueWeight(Gtk.Window):
|
|
|
166
166
|
self.notebook.append_page(box)
|
|
167
167
|
|
|
168
168
|
if self.ifile:
|
|
169
|
-
self.modules = self.parse_file(ifile)
|
|
169
|
+
self.modules = self.parse_file(self.ifile)
|
|
170
170
|
self.populate_notebook()
|
|
171
171
|
|
|
172
172
|
# The button box
|
|
@@ -186,14 +186,18 @@ class GlueWeight(Gtk.Window):
|
|
|
186
186
|
btnBox.add(btn)
|
|
187
187
|
|
|
188
188
|
btn = Gtk.Button(label="Quit")
|
|
189
|
-
btn.connect("clicked",
|
|
189
|
+
btn.connect("clicked", self.quit)
|
|
190
190
|
btnBox.add(btn)
|
|
191
191
|
|
|
192
192
|
self.mainBox.pack_start(btnBox, False, True, 0)
|
|
193
|
-
self.connect("destroy", Gtk.main_quit)
|
|
194
193
|
|
|
195
194
|
self.show_all()
|
|
196
195
|
|
|
196
|
+
def quit(self, *args):
|
|
197
|
+
"""Quits the application."""
|
|
198
|
+
self.hide()
|
|
199
|
+
self.destroy()
|
|
200
|
+
|
|
197
201
|
def create_test_window(self, test_json, test_name, label):
|
|
198
202
|
"""Create the dialog for a DB test and add it to the notebook.
|
|
199
203
|
|
|
@@ -406,6 +410,7 @@ def main():
|
|
|
406
410
|
GW.show_all()
|
|
407
411
|
GW.set_accept_focus(True)
|
|
408
412
|
GW.present()
|
|
413
|
+
GW.connect("destroy", Gtk.main_quit)
|
|
409
414
|
|
|
410
415
|
try:
|
|
411
416
|
Gtk.main()
|
itkdb_gtk/dashBoard.py
CHANGED
|
@@ -80,10 +80,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
80
80
|
self.mainBox.pack_start(Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL), False, True, 5)
|
|
81
81
|
|
|
82
82
|
self.show_all()
|
|
83
|
-
|
|
84
|
-
def glue_weight(self, *args):
|
|
85
|
-
"""Glue Weight test."""
|
|
86
|
-
|
|
83
|
+
|
|
87
84
|
|
|
88
85
|
def upload_test(self, *args):
|
|
89
86
|
"""Launch upload test."""
|
|
@@ -129,6 +126,17 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
|
|
|
129
126
|
W = groundingTest.GroundingTest(self.session)
|
|
130
127
|
W.connect("destroy", self.app_closed, bitn)
|
|
131
128
|
|
|
129
|
+
def glue_weight(self, *args):
|
|
130
|
+
"""Glue Weight test."""
|
|
131
|
+
bitn = 5
|
|
132
|
+
bt = 1 << bitn
|
|
133
|
+
if self.mask & bt:
|
|
134
|
+
return
|
|
135
|
+
|
|
136
|
+
self.mask |= bt
|
|
137
|
+
W = GlueWeight.GlueWeight(self.session)
|
|
138
|
+
W.connect("destroy", self.app_closed, bitn)
|
|
139
|
+
|
|
132
140
|
def app_closed(self, *args):
|
|
133
141
|
"""Application window closed. Clear mask."""
|
|
134
142
|
bt = 1 << args[1]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itkdb-gtk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
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,9 +1,9 @@
|
|
|
1
|
-
itkdb_gtk/GlueWeight.py,sha256=
|
|
1
|
+
itkdb_gtk/GlueWeight.py,sha256=XQZgSbIjzQX34mpbd0h4Gtk3E4qqOltGHupsBjgeYe0,12287
|
|
2
2
|
itkdb_gtk/ITkDBlogin.py,sha256=oP7v5uppBqb27rRKv-v82LsyjPPtAXj55TwH6pzB40Q,9902
|
|
3
3
|
itkdb_gtk/ITkDButils.py,sha256=uWe2lv5EHvMdJFsiQFfqvGUhnBInW09VkKKlPlAZZig,14205
|
|
4
4
|
itkdb_gtk/__init__.py,sha256=mUdCKf_N7JZbDCTASH8qSEC10YNeuAzRocrxYd91Dic,552
|
|
5
5
|
itkdb_gtk/checkComponent.py,sha256=WSyJOQ8asCFWBoBknmPx6P7xH1vAlCHmi0Oh_XaCa4o,3342
|
|
6
|
-
itkdb_gtk/dashBoard.py,sha256=
|
|
6
|
+
itkdb_gtk/dashBoard.py,sha256=EpIJ2yPrDuBAic58QfnNWfHt3Mt17nZnt9GHO1LwG_8,4376
|
|
7
7
|
itkdb_gtk/dbGtkUtils.py,sha256=iv7ObvYzs-kTFbdDjULQhYqa-7KMbQHCUpSoCjzLx58,20708
|
|
8
8
|
itkdb_gtk/getShipments.py,sha256=6xNTFAQ1Xon8M20U5BSRJkRc4P7vfNuG4liktoMTaa0,18718
|
|
9
9
|
itkdb_gtk/groundingTest.py,sha256=xG4xSzbHkqKj-96Xwd3bbFFuvxVF5GI3Gap333BoRCc,7140
|
|
@@ -12,8 +12,8 @@ itkdb_gtk/readGoogleSheet.py,sha256=cQ_pVsS_nwUh0bnXl7AP4in9kQ3Q-p8BIvXvvrTRInc,
|
|
|
12
12
|
itkdb_gtk/sendShipments.py,sha256=yaKQ30fMG7bt3Zk7Rkgmla04nqfboA8zg3a-rleG9-g,13133
|
|
13
13
|
itkdb_gtk/uploadPetalInformation.py,sha256=TisusbFwSfsgI_USQNJMnsADpyzNyh1pUovy6uFi2Os,21093
|
|
14
14
|
itkdb_gtk/uploadTest.py,sha256=2kP3a68ssib8cgQpcvgwU-kCJy2rsd7cp5Vb5tgBjKY,12171
|
|
15
|
-
itkdb_gtk-0.0.
|
|
16
|
-
itkdb_gtk-0.0.
|
|
17
|
-
itkdb_gtk-0.0.
|
|
18
|
-
itkdb_gtk-0.0.
|
|
19
|
-
itkdb_gtk-0.0.
|
|
15
|
+
itkdb_gtk-0.0.3.dist-info/METADATA,sha256=kMAi11_VdIjOIR2YKXBjPt-VnxAetbF6135zBn-AOFA,2654
|
|
16
|
+
itkdb_gtk-0.0.3.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
17
|
+
itkdb_gtk-0.0.3.dist-info/entry_points.txt,sha256=Sp0fME6Pa5Fssfli0-Y0AfYNBs-ebHqX5E6fhAGh_9E,239
|
|
18
|
+
itkdb_gtk-0.0.3.dist-info/top_level.txt,sha256=KVRrH4OS8ovzNR9bvADE0ABn5bNpSk987tuH0jCfkbU,10
|
|
19
|
+
itkdb_gtk-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|