itkdb-gtk 0.0.2__tar.gz → 0.0.3__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 (24) hide show
  1. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/PKG-INFO +1 -1
  2. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/GlueWeight.py +8 -3
  3. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/dashBoard.py +12 -4
  4. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/PKG-INFO +1 -1
  5. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/pyproject.toml +1 -1
  6. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/README.md +0 -0
  7. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/ITkDBlogin.py +0 -0
  8. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/ITkDButils.py +0 -0
  9. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/__init__.py +0 -0
  10. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/checkComponent.py +0 -0
  11. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/dbGtkUtils.py +0 -0
  12. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/getShipments.py +0 -0
  13. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/groundingTest.py +0 -0
  14. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/readAVSdata.py +0 -0
  15. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/readGoogleSheet.py +0 -0
  16. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/sendShipments.py +0 -0
  17. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/uploadPetalInformation.py +0 -0
  18. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk/uploadTest.py +0 -0
  19. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/SOURCES.txt +0 -0
  20. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
  21. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/entry_points.txt +0 -0
  22. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/requires.txt +0 -0
  23. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/itkdb_gtk.egg-info/top_level.txt +0 -0
  24. {itkdb_gtk-0.0.2 → itkdb_gtk-0.0.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.0.2
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
@@ -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", Gtk.main_quit)
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()
@@ -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.2
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "itkdb_gtk"
7
- version = "0.0.2"
7
+ version = "0.0.3"
8
8
  authors = [
9
9
  { name="Carlos Lacasta", email="carlos.lacasta@cern.ch" },
10
10
  ]
File without changes
File without changes