itkdb-gtk 0.0.16.dev4__tar.gz → 0.0.16.dev5__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.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/PKG-INFO +1 -1
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/UploadModuleIV.py +19 -2
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/__init__.py +1 -1
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/PKG-INFO +1 -1
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/pyproject.toml +1 -1
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/README.md +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/GetShipments.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/GlueWeight.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/GroundVITests.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ITkDB.desktop +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ITkDB.svg +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ITkDBlogin.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ITkDButils.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/SendShipments.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ShowAttachments.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ShowComments.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/ShowDefects.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/UploadMultipleTests.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/UploadPetalInformation.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/UploadTest.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/dashBoard.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/dbGtkUtils.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/readAVSdata.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/readGoogleSheet.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk/untrash_component.py +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/SOURCES.txt +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/dependency_links.txt +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/entry_points.txt +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/requires.txt +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/itkdb_gtk.egg-info/top_level.txt +0 -0
- {itkdb_gtk-0.0.16.dev4 → itkdb_gtk-0.0.16.dev5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itkdb_gtk
|
|
3
|
-
Version: 0.0.16.
|
|
3
|
+
Version: 0.0.16.dev5
|
|
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
|
|
@@ -14,6 +14,7 @@ import os
|
|
|
14
14
|
import json
|
|
15
15
|
import warnings
|
|
16
16
|
from pathlib import Path
|
|
17
|
+
import shutil
|
|
17
18
|
|
|
18
19
|
import gi
|
|
19
20
|
import tempfile
|
|
@@ -537,6 +538,23 @@ class IVwindow(dbGtkUtils.ITkDBWindow):
|
|
|
537
538
|
js_out.write(json.dumps(test, indent=3, cls=dbGtkUtils.MyEncoder))
|
|
538
539
|
js_out.close()
|
|
539
540
|
|
|
541
|
+
if dbGtkUtils.ask_for_confirmation("Save Data File locally?", "Saves attached file also locally."):
|
|
542
|
+
fc = Gtk.FileChooserDialog(title="Save data file", action=Gtk.FileChooserAction.SAVE)
|
|
543
|
+
fc.add_buttons(
|
|
544
|
+
Gtk.STOCK_CANCEL,
|
|
545
|
+
Gtk.ResponseType.CANCEL,
|
|
546
|
+
Gtk.STOCK_OPEN,
|
|
547
|
+
Gtk.ResponseType.OK,
|
|
548
|
+
)
|
|
549
|
+
|
|
550
|
+
fc.set_current_name("{}.dat".format(fnam))
|
|
551
|
+
rc = fc.run()
|
|
552
|
+
if rc == Gtk.ResponseType.OK:
|
|
553
|
+
shutil.copyfile(data_out.name, fc.get_filename())
|
|
554
|
+
|
|
555
|
+
fc.hide()
|
|
556
|
+
fc.destroy()
|
|
557
|
+
|
|
540
558
|
attachment = ITkDButils.Attachment(data_out.name, "resultsFile", fnam)
|
|
541
559
|
uploadW = UploadTest.UploadTest(self.session, js_out.name, attachment)
|
|
542
560
|
uploadW.connect("destroy", remove_files, [data_out.name, js_out.name])
|
|
@@ -800,7 +818,6 @@ class IVwindow(dbGtkUtils.ITkDBWindow):
|
|
|
800
818
|
return metadata
|
|
801
819
|
|
|
802
820
|
|
|
803
|
-
|
|
804
821
|
def main():
|
|
805
822
|
"""Main entryy."""
|
|
806
823
|
import sys
|
|
@@ -832,4 +849,4 @@ def main():
|
|
|
832
849
|
sys.exit()
|
|
833
850
|
|
|
834
851
|
if __name__ == "__main__":
|
|
835
|
-
main()
|
|
852
|
+
main()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itkdb_gtk
|
|
3
|
-
Version: 0.0.16.
|
|
3
|
+
Version: 0.0.16.dev5
|
|
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
|