itkdb-gtk 0.0.16.dev2__tar.gz → 0.0.16.dev3__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 (31) hide show
  1. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/PKG-INFO +7 -7
  2. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/README.md +6 -6
  3. itkdb_gtk-0.0.16.dev2/itkdb_gtk/uploadIVfiles.py → itkdb_gtk-0.0.16.dev3/itkdb_gtk/UploadModuleIV.py +9 -4
  4. itkdb_gtk-0.0.16.dev2/itkdb_gtk/uploadMultipleTests.py → itkdb_gtk-0.0.16.dev3/itkdb_gtk/UploadMultipleTests.py +2 -2
  5. itkdb_gtk-0.0.16.dev2/itkdb_gtk/uploadPetalInformation.py → itkdb_gtk-0.0.16.dev3/itkdb_gtk/UploadPetalInformation.py +0 -0
  6. itkdb_gtk-0.0.16.dev2/itkdb_gtk/uploadTest.py → itkdb_gtk-0.0.16.dev3/itkdb_gtk/UploadTest.py +0 -0
  7. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/__init__.py +9 -10
  8. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/dashBoard.py +19 -13
  9. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/PKG-INFO +7 -7
  10. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/SOURCES.txt +7 -7
  11. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/entry_points.txt +1 -1
  12. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/pyproject.toml +2 -2
  13. /itkdb_gtk-0.0.16.dev2/itkdb_gtk/getShipments.py → /itkdb_gtk-0.0.16.dev3/itkdb_gtk/GetShipments.py +0 -0
  14. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/GlueWeight.py +0 -0
  15. /itkdb_gtk-0.0.16.dev2/itkdb_gtk/groundVITests.py → /itkdb_gtk-0.0.16.dev3/itkdb_gtk/GroundVITests.py +0 -0
  16. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ITkDB.desktop +0 -0
  17. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ITkDB.svg +0 -0
  18. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ITkDBlogin.py +0 -0
  19. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ITkDButils.py +0 -0
  20. /itkdb_gtk-0.0.16.dev2/itkdb_gtk/sendShipments.py → /itkdb_gtk-0.0.16.dev3/itkdb_gtk/SendShipments.py +0 -0
  21. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ShowAttachments.py +0 -0
  22. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ShowComments.py +0 -0
  23. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/ShowDefects.py +0 -0
  24. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/dbGtkUtils.py +0 -0
  25. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/readAVSdata.py +0 -0
  26. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/readGoogleSheet.py +0 -0
  27. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk/untrash_component.py +0 -0
  28. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
  29. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/requires.txt +0 -0
  30. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/itkdb_gtk.egg-info/top_level.txt +0 -0
  31. {itkdb_gtk-0.0.16.dev2 → itkdb_gtk-0.0.16.dev3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.0.16.dev2
3
+ Version: 0.0.16.dev3
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,28 +41,28 @@ Reads the AVS Production Sheet and FAT reports. With this information it creates
41
41
  the petal core in the DB, if not yet there, make the assembly of the components,
42
42
  and uploadas the test runs made at AVS.
43
43
 
44
- ## uploadTest.py
44
+ ## UploadTest.py
45
45
  A GUI to upload the JSON files corresponding to a test and, also, to add
46
46
  attachmetns.
47
47
 
48
- ## uploadMultipleTests.py
48
+ ## UploadMultipleTests.py
49
49
  This will allow to select various test files, or even scan a whole directory to
50
50
  find them, and assign comments, defects or attachments to each of the tests found.
51
51
 
52
- ## getShipments.py
52
+ ## GetShipments.py
53
53
  Find all shipments to be received at a given site and list them. It handles a
54
54
  barcode reader that helps identifying the items actually received for the
55
55
  reception. It will finally make the DB aware of the items receptioned.
56
56
 
57
- ## sendShipments.py
57
+ ## SendShipments.py
58
58
  Create a new shipment. Allows to add items with the QR reader as well as from a
59
59
  GUI dialog. One can add comments and attachments to the shipment.
60
60
 
61
- ## groundVITests.py
61
+ ## GroundVITests.py
62
62
  Allows to upload and enter valueos, comments and defects for those items in the gounding
63
63
  and visual instpections tests of the petal core.
64
64
 
65
- ## uploadIVfiles.py
65
+ ## UploadModuleIV.py
66
66
  The idea behind this is that we messure the IV on a Ring module and on only one of the to Half modules. The IV of the remaining half modules is derived from the other 2. Eventually the IV test can be uploaded to the DB.
67
67
 
68
68
  ## dashBoard.py
@@ -24,28 +24,28 @@ Reads the AVS Production Sheet and FAT reports. With this information it creates
24
24
  the petal core in the DB, if not yet there, make the assembly of the components,
25
25
  and uploadas the test runs made at AVS.
26
26
 
27
- ## uploadTest.py
27
+ ## UploadTest.py
28
28
  A GUI to upload the JSON files corresponding to a test and, also, to add
29
29
  attachmetns.
30
30
 
31
- ## uploadMultipleTests.py
31
+ ## UploadMultipleTests.py
32
32
  This will allow to select various test files, or even scan a whole directory to
33
33
  find them, and assign comments, defects or attachments to each of the tests found.
34
34
 
35
- ## getShipments.py
35
+ ## GetShipments.py
36
36
  Find all shipments to be received at a given site and list them. It handles a
37
37
  barcode reader that helps identifying the items actually received for the
38
38
  reception. It will finally make the DB aware of the items receptioned.
39
39
 
40
- ## sendShipments.py
40
+ ## SendShipments.py
41
41
  Create a new shipment. Allows to add items with the QR reader as well as from a
42
42
  GUI dialog. One can add comments and attachments to the shipment.
43
43
 
44
- ## groundVITests.py
44
+ ## GroundVITests.py
45
45
  Allows to upload and enter valueos, comments and defects for those items in the gounding
46
46
  and visual instpections tests of the petal core.
47
47
 
48
- ## uploadIVfiles.py
48
+ ## UploadModuleIV.py
49
49
  The idea behind this is that we messure the IV on a Ring module and on only one of the to Half modules. The IV of the remaining half modules is derived from the other 2. Eventually the IV test can be uploaded to the DB.
50
50
 
51
51
  ## dashBoard.py
@@ -32,10 +32,10 @@ try:
32
32
  import dbGtkUtils
33
33
  import ITkDBlogin
34
34
  import ITkDButils
35
- import uploadTest
35
+ import UploadTest
36
36
 
37
37
  except ModuleNotFoundError:
38
- from itkdb_gtk import dbGtkUtils, ITkDBlogin, ITkDButils, uploadTest
38
+ from itkdb_gtk import dbGtkUtils, ITkDBlogin, ITkDButils, UploadTest
39
39
 
40
40
  # Check if Gtk can be open
41
41
  gtk_runs, gtk_args = Gtk.init_check()
@@ -538,7 +538,7 @@ class IVwindow(dbGtkUtils.ITkDBWindow):
538
538
  js_out.close()
539
539
 
540
540
  attachment = ITkDButils.Attachment(data_out.name, "resultsFile", fnam)
541
- uploadW = uploadTest.UploadTest(self.session, js_out.name, attachment)
541
+ uploadW = UploadTest.UploadTest(self.session, js_out.name, attachment)
542
542
  uploadW.connect("destroy", remove_files, [data_out.name, js_out.name])
543
543
 
544
544
  def on_refresh(self, *args):
@@ -798,7 +798,9 @@ class IVwindow(dbGtkUtils.ITkDBWindow):
798
798
  return metadata
799
799
 
800
800
 
801
- if __name__ == "__main__":
801
+
802
+ def main():
803
+ """Main entryy."""
802
804
  import sys
803
805
 
804
806
  # DB login
@@ -826,3 +828,6 @@ if __name__ == "__main__":
826
828
  dlg.die()
827
829
  print("Bye !!")
828
830
  sys.exit()
831
+
832
+ if __name__ == "__main__":
833
+ main()
@@ -14,13 +14,13 @@ try:
14
14
  from ShowComments import ShowComments
15
15
  from ShowAttachments import ShowAttachments
16
16
  from ShowDefects import ShowDefects
17
- from uploadTest import create_json_data_editor
17
+ from UploadTest import create_json_data_editor
18
18
  except ModuleNotFoundError:
19
19
  from itkdb_gtk import dbGtkUtils, ITkDBlogin, ITkDButils
20
20
  from itkdb_gtk.ShowComments import ShowComments
21
21
  from itkdb_gtk.ShowAttachments import ShowAttachments
22
22
  from itkdb_gtk.ShowDefects import ShowDefects
23
- from itkdb_gtk.uploadTest import create_json_data_editor
23
+ from itkdb_gtk.UploadTest import create_json_data_editor
24
24
 
25
25
  import gi
26
26
  gi.require_version("Gtk", "3.0")
@@ -1,4 +1,4 @@
1
- __version__ = "0.0.16.dev1"
1
+ __version__ = "0.0.16.dev3"
2
2
 
3
3
 
4
4
  def dash_board():
@@ -9,7 +9,7 @@ def dash_board():
9
9
 
10
10
  def getShipments():
11
11
  """getShipments."""
12
- from .getShipments import main
12
+ from .GetShipments import main
13
13
  main()
14
14
 
15
15
 
@@ -21,28 +21,27 @@ def glueWeight():
21
21
 
22
22
  def groundVITests():
23
23
  """GND/VI tests."""
24
- from .groundVITests import main
24
+ from .GroundVITests import main
25
25
  main()
26
26
 
27
27
 
28
28
  def sendShipments():
29
29
  """Send items."""
30
- from .sendShipments import main
30
+ from .SendShipments import main
31
31
  main()
32
32
 
33
-
34
33
  def uploadTest():
35
- """Upload tests."""
36
- from .uploadTest import main
34
+ """Upload a single tests."""
35
+ from .UploadTest import main
37
36
  main()
38
37
 
39
38
 
40
39
  def uploadMultipleTests():
41
40
  """Upload multiple tests."""
42
- from .uploadMultipleTests import main
41
+ from .UploadMultipleTests import main
43
42
  main()
44
43
 
45
- def uploadIVfiles():
44
+ def uploadModuleIV():
46
45
  """Upload IV files of single and double modules"""
47
- from .uploadIVfiles import main
46
+ from .UploadModuleIV import main
48
47
  main()
@@ -4,17 +4,23 @@ import sys
4
4
 
5
5
  try:
6
6
  import dbGtkUtils
7
- import getShipments
8
- import groundVITests
7
+ import GetShipments
8
+ import GroundVITests
9
9
  import ITkDBlogin
10
- import sendShipments
11
- import uploadMultipleTests
10
+ import SendShipments
11
+ import UploadMultipleTests
12
12
  import GlueWeight
13
- import uploadIVfiles
13
+ import UploadModuleIV
14
14
 
15
15
  except Exception:
16
- from itkdb_gtk import dbGtkUtils, getShipments, groundVITests, uploadIVfiles
17
- from itkdb_gtk import ITkDBlogin, sendShipments, uploadMultipleTests, GlueWeight
16
+ from itkdb_gtk import dbGtkUtils
17
+ from itkdb_gtk import GetShipments
18
+ from itkdb_gtk import GroundVITests
19
+ from itkdb_gtk import ITkDBlogin
20
+ from itkdb_gtk import SendShipments
21
+ from itkdb_gtk import UploadMultipleTests
22
+ from itkdb_gtk import GlueWeight
23
+ from itkdb_gtk import UploadModuleIV
18
24
 
19
25
  import gi
20
26
 
@@ -102,7 +108,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
102
108
  return
103
109
 
104
110
  self.mask |= bt
105
- W = uploadMultipleTests.UploadMultipleTests(self.session)
111
+ W = UploadMultipleTests.UploadMultipleTests(self.session)
106
112
  W.connect("destroy", self.app_closed, bitn)
107
113
 
108
114
  def create_shipment(self, *args):
@@ -113,7 +119,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
113
119
  return
114
120
 
115
121
  self.mask |= bt
116
- W = sendShipments.SendShipments(self.session)
122
+ W = SendShipments.SendShipments(self.session)
117
123
  W.connect("destroy", self.app_closed, bitn)
118
124
 
119
125
  def receive_shipment(self, *args):
@@ -124,7 +130,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
124
130
  return
125
131
 
126
132
  self.mask |= bt
127
- W = getShipments.ReceiveShipments(self.session)
133
+ W = GetShipments.ReceiveShipments(self.session)
128
134
  W.connect("destroy", self.app_closed, bitn)
129
135
 
130
136
  def petal_gnd(self, *args):
@@ -135,7 +141,7 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
135
141
  return
136
142
 
137
143
  self.mask |= bt
138
- W = groundVITests.GroundingTest(self.session)
144
+ W = GroundVITests.GroundingTest(self.session)
139
145
  W.connect("destroy", self.app_closed, bitn)
140
146
 
141
147
  def glue_weight(self, *args):
@@ -157,14 +163,14 @@ class DashWindow(dbGtkUtils.ITkDBWindow):
157
163
  return
158
164
 
159
165
  self.mask |= bt
160
- W = uploadIVfiles.IVwindow(self.session)
166
+ W = UploadModuleIV.IVwindow(self.session)
161
167
  W.connect("destroy", self.app_closed, bitn)
162
168
 
163
169
  def app_closed(self, *args):
164
170
  """Application window closed. Clear mask."""
165
171
  bt = 1 << args[1]
166
172
  self.mask &= ~bt
167
- print(bt, self.mask)
173
+ # print(bt, self.mask)
168
174
 
169
175
 
170
176
  def main():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.0.16.dev2
3
+ Version: 0.0.16.dev3
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,28 +41,28 @@ Reads the AVS Production Sheet and FAT reports. With this information it creates
41
41
  the petal core in the DB, if not yet there, make the assembly of the components,
42
42
  and uploadas the test runs made at AVS.
43
43
 
44
- ## uploadTest.py
44
+ ## UploadTest.py
45
45
  A GUI to upload the JSON files corresponding to a test and, also, to add
46
46
  attachmetns.
47
47
 
48
- ## uploadMultipleTests.py
48
+ ## UploadMultipleTests.py
49
49
  This will allow to select various test files, or even scan a whole directory to
50
50
  find them, and assign comments, defects or attachments to each of the tests found.
51
51
 
52
- ## getShipments.py
52
+ ## GetShipments.py
53
53
  Find all shipments to be received at a given site and list them. It handles a
54
54
  barcode reader that helps identifying the items actually received for the
55
55
  reception. It will finally make the DB aware of the items receptioned.
56
56
 
57
- ## sendShipments.py
57
+ ## SendShipments.py
58
58
  Create a new shipment. Allows to add items with the QR reader as well as from a
59
59
  GUI dialog. One can add comments and attachments to the shipment.
60
60
 
61
- ## groundVITests.py
61
+ ## GroundVITests.py
62
62
  Allows to upload and enter valueos, comments and defects for those items in the gounding
63
63
  and visual instpections tests of the petal core.
64
64
 
65
- ## uploadIVfiles.py
65
+ ## UploadModuleIV.py
66
66
  The idea behind this is that we messure the IV on a Ring module and on only one of the to Half modules. The IV of the remaining half modules is derived from the other 2. Eventually the IV test can be uploaded to the DB.
67
67
 
68
68
  ## dashBoard.py
@@ -1,26 +1,26 @@
1
1
  README.md
2
2
  pyproject.toml
3
+ itkdb_gtk/GetShipments.py
3
4
  itkdb_gtk/GlueWeight.py
5
+ itkdb_gtk/GroundVITests.py
4
6
  itkdb_gtk/ITkDB.desktop
5
7
  itkdb_gtk/ITkDB.svg
6
8
  itkdb_gtk/ITkDBlogin.py
7
9
  itkdb_gtk/ITkDButils.py
10
+ itkdb_gtk/SendShipments.py
8
11
  itkdb_gtk/ShowAttachments.py
9
12
  itkdb_gtk/ShowComments.py
10
13
  itkdb_gtk/ShowDefects.py
14
+ itkdb_gtk/UploadModuleIV.py
15
+ itkdb_gtk/UploadMultipleTests.py
16
+ itkdb_gtk/UploadPetalInformation.py
17
+ itkdb_gtk/UploadTest.py
11
18
  itkdb_gtk/__init__.py
12
19
  itkdb_gtk/dashBoard.py
13
20
  itkdb_gtk/dbGtkUtils.py
14
- itkdb_gtk/getShipments.py
15
- itkdb_gtk/groundVITests.py
16
21
  itkdb_gtk/readAVSdata.py
17
22
  itkdb_gtk/readGoogleSheet.py
18
- itkdb_gtk/sendShipments.py
19
23
  itkdb_gtk/untrash_component.py
20
- itkdb_gtk/uploadIVfiles.py
21
- itkdb_gtk/uploadMultipleTests.py
22
- itkdb_gtk/uploadPetalInformation.py
23
- itkdb_gtk/uploadTest.py
24
24
  itkdb_gtk.egg-info/PKG-INFO
25
25
  itkdb_gtk.egg-info/SOURCES.txt
26
26
  itkdb_gtk.egg-info/dependency_links.txt
@@ -4,6 +4,6 @@ glueWeight = itkdb_gtk:glueWeight
4
4
  groundVITests = itkdb_gtk:groundVITests
5
5
  itkdb_dashBoard = itkdb_gtk:dash_board
6
6
  sendShipments = itkdb_gtk:sendShipments
7
- uploadIVfiles = itkdb_gtk:uploadIVfiles
7
+ uploadModuleIV = itkdb_gtk:uploadModuleIV
8
8
  uploadMultipleTests = itkdb_gtk:uploadMultipleTests
9
9
  uploadTest = itkdb_gtk:uploadTest
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "itkdb_gtk"
7
- version = "0.0.16.dev2"
7
+ version = "0.0.16.dev3"
8
8
  authors = [
9
9
  { name="Carlos Lacasta", email="carlos.lacasta@cern.ch" },
10
10
  ]
@@ -31,7 +31,7 @@ groundVITests = "itkdb_gtk:groundVITests"
31
31
  sendShipments = "itkdb_gtk:sendShipments"
32
32
  uploadTest = "itkdb_gtk:uploadTest"
33
33
  uploadMultipleTests = "itkdb_gtk:uploadMultipleTests"
34
- uploadIVfiles = "itkdb_gtk:uploadIVfiles"
34
+ uploadModuleIV = "itkdb_gtk:uploadModuleIV"
35
35
 
36
36
  [tool.setuptools]
37
37
  include-package-data = true