itkdb-gtk 0.10.1__py3-none-any.whl → 0.10.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.

Potentially problematic release.


This version of itkdb-gtk might be problematic. Click here for more details.

itkdb_gtk/WireBondGui.py CHANGED
@@ -16,6 +16,8 @@ except ImportError:
16
16
  cwd = Path(__file__).parent.parent
17
17
  sys.path.append(cwd.as_posix())
18
18
  import itkdb_gtk
19
+
20
+ __HELP_LINK__="https://itkdb-gtk.docs.cern.ch/wirebondTest.html"
19
21
 
20
22
  from itkdb_gtk import dbGtkUtils
21
23
  from itkdb_gtk import ITkDBlogin, ITkDButils, UploadTest
@@ -414,7 +416,7 @@ def get_module_param(SN):
414
416
  class WireBond(dbGtkUtils.ITkDBWindow):
415
417
  """Main window."""
416
418
 
417
- def __init__(self, session, title="", help=None):
419
+ def __init__(self, session, title="", help=__HELP_LINK__):
418
420
  """Initialization."""
419
421
  super().__init__(title=title, session=session, help=help)
420
422
  self.pdb = None
@@ -748,7 +750,11 @@ class WireBond(dbGtkUtils.ITkDBWindow):
748
750
 
749
751
  def parse(self, data):
750
752
  """Parses a JSon dictionary."""
751
- dbGtkUtils.set_combo_iter(self.inst_combo, data["institution"])
753
+ try:
754
+ dbGtkUtils.set_combo_iter(self.inst_combo, data["institution"])
755
+ except KeyError:
756
+ self.write_message("institution value is not in the loaded file.")
757
+
752
758
  self.operator.set_text(data["properties"]["OPERATOR"])
753
759
  self.machine.set_text(data["properties"]["BOND_MACHINE"])
754
760
  self.batch.set_text(data["properties"]["BONDWIRE_BATCH"])
itkdb_gtk/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """ itkdb-gtk python module
2
2
  """
3
- __version__ = "0.10.1"
3
+ __version__ = "0.10.3"
4
4
 
5
5
 
6
6
  def dash_board():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: itkdb_gtk
3
- Version: 0.10.1
3
+ Version: 0.10.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
@@ -15,15 +15,15 @@ itkdb_gtk/UploadModuleIV.py,sha256=L5hndmkRf6cho5ZaBVLaczbPm5DzkmLKwI3IpirVv5U,1
15
15
  itkdb_gtk/UploadMultipleTests.py,sha256=PK0G1eWNYQP56WM2GN6-lmLUuS8TARW1pylo1jZweKs,22142
16
16
  itkdb_gtk/UploadPetalInformation.py,sha256=Y0WsFJJuxkhr_Z2htMDew5juQnpZmA_13pKaM6ECbDo,24749
17
17
  itkdb_gtk/UploadTest.py,sha256=u-7Atpl0sewrDxwLpqYd1CKUtVfA2RKNhc4FJZaE_j4,16573
18
- itkdb_gtk/WireBondGui.py,sha256=xn7dUTmMlTXWUanZk87Vug39EXkESVVRYur_Dt_iiVs,26911
19
- itkdb_gtk/__init__.py,sha256=yAB-VrUgQGyU6zLgBi3-i5sBt-5hWV5UGROLyP1SNGI,1151
18
+ itkdb_gtk/WireBondGui.py,sha256=t5Oc89VwvtA562u9bPtFMGTMEXcWFd-K-slrsf61DNY,27120
19
+ itkdb_gtk/__init__.py,sha256=CnYivMbAlNGmbk2pa7v1cdCiLXnVyIsko15xMqYKoIk,1151
20
20
  itkdb_gtk/dashBoard.py,sha256=YG6kJjbJ1t1ZXfmdMz1UGBKGKaXOc6_jn0SPwnDMnH0,7522
21
21
  itkdb_gtk/dbGtkUtils.py,sha256=i9IUZHiL31LQCmgNMP4SYbYDRi6fOx_H7tS18RaNeJI,27820
22
22
  itkdb_gtk/readAVSdata.py,sha256=WlYYzlrTBD0LeKyM_sLP7jW6-38Y1b9-_QpPw8n1sU0,23442
23
23
  itkdb_gtk/readGoogleSheet.py,sha256=Lzm_oPWwDqZZzKoBUgsp277F9-wCfr_BA0X4VD2Eolo,2673
24
24
  itkdb_gtk/untrash_component.py,sha256=VrN46-f-kF7voOxtoh7OL-bZSWAaIFb7-Xbx6_WT7K8,757
25
- itkdb_gtk-0.10.1.dist-info/METADATA,sha256=SpW_Pusdq9w-DTtPfFLUAmOnhQFuh1nlHuRucP2risQ,3150
26
- itkdb_gtk-0.10.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
27
- itkdb_gtk-0.10.1.dist-info/entry_points.txt,sha256=p7hiZPp4EPyRNzRdu6NqYlDmfflZGGDiDjIJGOcwfig,445
28
- itkdb_gtk-0.10.1.dist-info/top_level.txt,sha256=KVRrH4OS8ovzNR9bvADE0ABn5bNpSk987tuH0jCfkbU,10
29
- itkdb_gtk-0.10.1.dist-info/RECORD,,
25
+ itkdb_gtk-0.10.3.dist-info/METADATA,sha256=RkHyvJWBi0-oEUlL0hH49gXPQjzGiXdjz0aYh4KCDq4,3150
26
+ itkdb_gtk-0.10.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
27
+ itkdb_gtk-0.10.3.dist-info/entry_points.txt,sha256=p7hiZPp4EPyRNzRdu6NqYlDmfflZGGDiDjIJGOcwfig,445
28
+ itkdb_gtk-0.10.3.dist-info/top_level.txt,sha256=KVRrH4OS8ovzNR9bvADE0ABn5bNpSk987tuH0jCfkbU,10
29
+ itkdb_gtk-0.10.3.dist-info/RECORD,,