tomwer 0.2.0a1__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.
- users/payno/.local/share/virtualenvs/tomwer_venc/bin/tomwer +12 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/__init__.py +8 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/__pycache__/setup.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/setup.py +43 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/OrangeWorkflowTest.py +318 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/TestAcquisition.py +253 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__init__.py +49 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/OrangeWorkflowTest.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/TestAcquisition.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/test_dark_flat_field.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/test_scanlist_ftserie.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/test_scanlist_samplemoved.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/__pycache__/test_workflows.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/test_dark_flat_field.py +151 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/test_scanlist_ftserie.py +212 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/test_scanlist_samplemoved.py +93 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/test/test_workflows.py +542 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/DarkRefAndCopyWidget.py +97 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/FolderTransfertWidget.py +83 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/FtseriesWidget.py +103 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/ImageStackViewerWidget.py +107 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/OWSampleMovedWidget.py +105 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/ScanListWidget.py +194 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/ScanSelectorOW.py +73 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/ScanValidatorWidget.py +319 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/SliceStackOW.py +86 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/TomoDirWidget.py +121 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/TomoGUIprojectWidget.py +110 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/TomoGUIreconsWidget.py +130 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__init__.py +58 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/DarkRefAndCopyWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/FolderTransfertWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/FtseriesWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/ImageStackViewerWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/OWSampleMovedWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/ScanListWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/ScanSelectorOW.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/ScanValidatorWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/SliceStackOW.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/TomoDirWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/TomoGUIprojectWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/TomoGUIreconsWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/__pycache__/utils.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/__init__.py +119 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/bricks.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/darkref.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/darkref.svg +172 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/esrf.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/eye.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/folder-transfert.svg +118 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/hourglass.npy +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/imageNotFound.npy +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/progress.svg +157 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/refCopy.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/refCopy.svg +254 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/sampleMoved.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/sampleMoved.svg +98 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/scanlist.svg +250 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/scanselector.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/scanselector.svg +269 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/slicesstack.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/slicesstack.svg +234 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/tomodir.svg +258 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/tomogui.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/tomwer.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/icons/validator.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__init__.py +48 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_darkref.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_foldertransfert.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_ftseries.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_scanvalidator.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_tomodir.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/__pycache__/test_viewer.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_darkref.py +273 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_foldertransfert.py +155 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_ftseries.py +899 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_scanvalidator.py +171 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_tomodir.py +350 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/test/test_viewer.py +138 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/orangecontrib/tomwer/widgets/utils.py +59 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__init__.py +49 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__main__.py +85 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__pycache__/__main__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__pycache__/_version.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__pycache__/setup.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/__pycache__/utils.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/_version.py +123 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__init__.py +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/darkref.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/ftserie.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/lbsramtransfert.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/recpyhst.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/samplemoved.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/__pycache__/slicestack.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/darkref.py +68 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/ftserie.py +46 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/lbsramtransfert.py +43 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/recpyhst.py +56 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/samplemoved.py +60 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/app/slicestack.py +56 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/BaseProcess.py +54 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/FolderTransfert.py +296 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ImageLoaderThread.py +136 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/OctaveH5Editor.py +56 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/PyHSTCaller.py +1004 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/RSyncManager.py +425 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ReconsParams.py +138 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ScanList.py +102 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ScanValidator.py +285 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/WaiterThread.py +47 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__init__.py +28 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/BaseProcess.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/FolderTransfert.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/ImageLoaderThread.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/OctaveH5Editor.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/PyHSTCaller.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/RSyncManager.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/ReconsParams.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/ScanList.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/ScanValidator.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/WaiterThread.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/processlog.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/qtApplicationManager.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/__pycache__/settings.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/DarkRefCopy.py +379 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/DarkRefs.py +780 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/__init__.py +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/__pycache__/DarkRefCopy.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/__pycache__/DarkRefs.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/darkref/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/FastSetupDefineGlobals.py +251 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/FtserieReconstruction.py +183 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/Ftseries.py +408 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/ReconstructionStack.py +254 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__init__.py +28 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__pycache__/FastSetupDefineGlobals.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__pycache__/FtserieReconstruction.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__pycache__/Ftseries.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__pycache__/ReconstructionStack.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/ftseries/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/__init__.py +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/__pycache__/colorlogger.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/__pycache__/processlog.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/colorlogger.py +116 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/log/processlog.py +76 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/oar/__init__.py +45 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/oar/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/processlog.py +56 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/qtApplicationManager.py +53 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/settings.py +49 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__init__.py +54 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_darkRefs.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_foldertransfert.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_ftseriereconstruction.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_pyhstcaller.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_refcopy.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_rsyncmanager.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_scanvalidator.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_tomodir.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/__pycache__/test_utils.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_darkRefs.py +461 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_foldertransfert.py +189 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_ftseriereconstruction.py +105 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_pyhstcaller.py +145 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_refcopy.py +182 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_rsyncmanager.py +95 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_scanvalidator.py +112 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_tomodir.py +386 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/test/test_utils.py +348 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/TomoDir.py +405 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/TomoDirObserver.py +428 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/_TomoDirProcess.py +486 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/__init__.py +67 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/__pycache__/TomoDir.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/__pycache__/TomoDirObserver.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/__pycache__/_TomoDirProcess.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/tomodir/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/Singleton.py +34 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__init__.py +336 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/Singleton.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/benchmark.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/ftseriesutils.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/logconfig.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/normalization.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/__pycache__/pyhstutils.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/benchmark.py +158 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/ftseriesutils.py +471 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/logconfig.py +33 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/normalization.py +83 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/core/utils/pyhstutils.py +55 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/FTSerie.py +67 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/FtseriesMixIn.py +208 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/H5FileDialog.py +105 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/H5StructEditor.py +105 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/H5StructsEditor.py +324 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/LinksQObject.py +114 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/OctaveVersionGetter.py +75 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/QFolderDialog.py +95 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/RawH5ParamEditor.py +181 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/RecPyHSTWidget.py +132 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/ScanSelectorWidget.py +160 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/SlicesStack.py +145 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__init__.py +31 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/FTSerie.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/FtseriesMixIn.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/H5FileDialog.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/H5StructEditor.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/H5StructsEditor.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/LinksQObject.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/OctaveVersionGetter.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/QFolderDialog.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/RawH5ParamEditor.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/RecPyHSTWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/ScanSelectorWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/SlicesStack.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/icons.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/stackplot.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/__pycache__/viewerQWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/DarkRefCopyWidget.py +491 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/DarkRefWidget.py +357 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/__init__.py +27 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/__pycache__/DarkRefCopyWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/__pycache__/DarkRefWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/darkref/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/DataWatcher.py +432 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__init__.py +31 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/DataWatcher.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/actions.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/configuration.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/history.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/__pycache__/observations.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/actions.py +115 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/configuration.py +136 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/history.py +115 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/datawatcher/observations.py +194 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/icons.py +399 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/BeamGeoWidget.py +146 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/DKRFWidget.py +203 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/DisplayWidget.py +132 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/ExpertWidget.py +163 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/FTAxisWidget.py +362 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/FTWidget.py +279 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/PaganinWidget.py +304 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/PyHSTWidget.py +173 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__init__.py +255 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/BeamGeoWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/DKRFWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/DisplayWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/ExpertWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/FTAxisWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/FTWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/PaganinWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/PyHSTWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/reconsParamsEditor/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/samplemoved/SelectionTable.py +187 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/samplemoved/__init__.py +227 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/samplemoved/__pycache__/SelectionTable.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/samplemoved/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/stackplot.py +519 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__init__.py +46 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/test_h5Editor.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/test_recPyHSTWidget.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/test_scanselector.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/test_slicestack.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/__pycache__/test_syncReconsParam.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/test_h5Editor.py +455 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/test_recPyHSTWidget.py +143 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/test_scanselector.py +80 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/test_slicestack.py +90 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/test/test_syncReconsParam.py +108 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/gui/viewerQWidget.py +406 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/__init__.py +471 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/gui/icons/history.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/gui/icons/loop.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/gui/icons/parameters.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/resources/gui/icons/tomwer.png +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/setup.py +49 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/__init__.py +36 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/__pycache__/parser.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/__pycache__/scheme.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/parser.py +341 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/scheme.py +57 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/test/__init__.py +38 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/test/__pycache__/test_core_process_loading.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/simpleworkflow/test/test_core_process_loading.py +256 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/__init__.py +73 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/__pycache__/test_scripts.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/test_scripts.py +115 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/utils/__init__.py +176 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/utils/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/utils/__pycache__/utilstest.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/test/utils/utilstest.py +417 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/utils.py +56 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/__init__.py +30 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/__pycache__/client.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/__pycache__/config.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/client.py +85 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/config.py +36 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/test/__init__.py +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/test/__pycache__/__init__.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/test/__pycache__/test_grayLogConnection.cpython-37.pyc +0 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer/web/test/test_grayLogConnection.py +60 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7-nspkg.pth +1 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/PKG-INFO +176 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/SOURCES.txt +185 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/dependency_links.txt +1 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/entry_points.txt +12 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/namespace_packages.txt +1 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/not-zip-safe +1 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/requires.txt +3 -0
- users/payno/.local/share/virtualenvs/tomwer_venc/lib/python3.7/site-packages/tomwer-0.2.0a1-py3.7.egg-info/top_level.txt +2 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
#!/users/payno/.local/share/virtualenvs/tomwer_venc/bin/python
|
2
|
+
# EASY-INSTALL-ENTRY-SCRIPT: 'tomwer==0.2.0a1','console_scripts','tomwer'
|
3
|
+
__requires__ = 'tomwer==0.2.0a1'
|
4
|
+
import re
|
5
|
+
import sys
|
6
|
+
from pkg_resources import load_entry_point
|
7
|
+
|
8
|
+
if __name__ == '__main__':
|
9
|
+
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
10
|
+
sys.exit(
|
11
|
+
load_entry_point('tomwer==0.2.0a1', 'console_scripts', 'tomwer')()
|
12
|
+
)
|
Binary file
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# /*##########################################################################
|
3
|
+
#
|
4
|
+
# Copyright (c) 2016-2017 European Synchrotron Radiation Facility
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
+
# THE SOFTWARE.
|
23
|
+
#
|
24
|
+
# ###########################################################################*/
|
25
|
+
|
26
|
+
__authors__ = ["H. Payno"]
|
27
|
+
__license__ = "MIT"
|
28
|
+
__date__ = "05/07/2017"
|
29
|
+
|
30
|
+
|
31
|
+
from numpy.distutils.misc_util import Configuration
|
32
|
+
|
33
|
+
|
34
|
+
def configuration(parent_package='', top_path=None):
|
35
|
+
config = Configuration('test', parent_package, top_path)
|
36
|
+
config.add_subpackage('widgets')
|
37
|
+
|
38
|
+
return config
|
39
|
+
|
40
|
+
|
41
|
+
if __name__ == "__main__":
|
42
|
+
from numpy.distutils.core import setup
|
43
|
+
setup(configuration=configuration)
|
@@ -0,0 +1,318 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# /*##########################################################################
|
3
|
+
#
|
4
|
+
# Copyright (c) 2016-2017 European Synchrotron Radiation Facility
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
+
# THE SOFTWARE.
|
23
|
+
#
|
24
|
+
# ###########################################################################*/
|
25
|
+
|
26
|
+
__authors__ = ["H. Payno", "Orange"]
|
27
|
+
__license__ = "MIT"
|
28
|
+
__date__ = "03/03/2017"
|
29
|
+
|
30
|
+
"""
|
31
|
+
Unit test from the Orange canvas main instance
|
32
|
+
|
33
|
+
"""
|
34
|
+
import os
|
35
|
+
import sys
|
36
|
+
import gc
|
37
|
+
import re
|
38
|
+
import logging
|
39
|
+
import pickle
|
40
|
+
import pkg_resources
|
41
|
+
from AnyQt.QtGui import QFont
|
42
|
+
from AnyQt.QtCore import Qt, QDir
|
43
|
+
import AnyQt.importhooks
|
44
|
+
|
45
|
+
if AnyQt.USED_API == "pyqt5":
|
46
|
+
# Use a backport shim to fake leftover PyQt4 imports
|
47
|
+
AnyQt.importhooks.install_backport_hook('pyqt4')
|
48
|
+
|
49
|
+
from Orange import canvas
|
50
|
+
from tomwer.core.qtApplicationManager import QApplicationManager
|
51
|
+
from Orange.canvas.application.canvasmain import CanvasMainWindow
|
52
|
+
from Orange.canvas.application.outputview import TextStream
|
53
|
+
from Orange.canvas.config import cache_dir
|
54
|
+
from Orange.canvas import config
|
55
|
+
from Orange.canvas.registry.base import WidgetRegistry
|
56
|
+
from Orange.canvas.registry import qt
|
57
|
+
from Orange.canvas.registry import set_global_registry
|
58
|
+
from Orange.canvas.scheme import SchemeNode, SchemeLink
|
59
|
+
from Orange.canvas.registry import cache
|
60
|
+
from unittest import TestCase
|
61
|
+
try:
|
62
|
+
import graypy
|
63
|
+
except:
|
64
|
+
graypy = None
|
65
|
+
else:
|
66
|
+
from tomwer.web import config as configweb
|
67
|
+
log = logging.getLogger(__name__)
|
68
|
+
|
69
|
+
app = QApplicationManager()
|
70
|
+
|
71
|
+
|
72
|
+
class OrangeWorflowTest(TestCase):
|
73
|
+
"""Define a specific TestCase reltive to OrangeWorkflow"""
|
74
|
+
|
75
|
+
def addWidget(self, widgetID):
|
76
|
+
"""Create an instanciation of the widgetID
|
77
|
+
|
78
|
+
:return SchemeNode: the node created
|
79
|
+
"""
|
80
|
+
assert(type(widgetID) is str)
|
81
|
+
assert(self.widget_registry.has_widget(widgetID))
|
82
|
+
widget_desc = self.widget_registry.widget(widgetID)
|
83
|
+
myItem = SchemeNode(widget_desc)
|
84
|
+
self.canvas_window.current_document().scheme().add_node(myItem)
|
85
|
+
return myItem
|
86
|
+
|
87
|
+
def link(self, schemeNode1, outNode1, schemeNode2, inputNode2):
|
88
|
+
"""Create a link between the node on the given input and output
|
89
|
+
|
90
|
+
:param SchemeNode schemeNode1: the node emitting the output signal
|
91
|
+
:param outNode1: the output chanel to be linked
|
92
|
+
:param SchemeNode schemeNode2: the node receiving the input signal
|
93
|
+
:param inputNode2: the input chanel to be linked
|
94
|
+
:return: the link created between the two nodes
|
95
|
+
"""
|
96
|
+
assert(type(schemeNode1) is SchemeNode)
|
97
|
+
assert(type(schemeNode2) is SchemeNode)
|
98
|
+
assert(type(outNode1) is str)
|
99
|
+
assert(type(inputNode2) is str)
|
100
|
+
link = SchemeLink(schemeNode1, outNode1, schemeNode2, inputNode2)
|
101
|
+
self.canvas_window.current_document().scheme().add_link(link)
|
102
|
+
return link
|
103
|
+
|
104
|
+
def getWidgetForNode(self, node):
|
105
|
+
"""
|
106
|
+
|
107
|
+
:param SchemeNode node: the node for which we want the corresponding
|
108
|
+
widget
|
109
|
+
:return: the widget instanciated for the given node
|
110
|
+
"""
|
111
|
+
assert(type(node) is SchemeNode)
|
112
|
+
return self.canvas_window.current_document().scheme().widget_for_node(node)
|
113
|
+
|
114
|
+
@classmethod
|
115
|
+
def setUpClass(cls):
|
116
|
+
cls.init(cls)
|
117
|
+
TestCase.setUpClass()
|
118
|
+
|
119
|
+
@classmethod
|
120
|
+
def tearDownClass(cls):
|
121
|
+
cls.canvas_window.deleteLater()
|
122
|
+
# make sure no events are resting
|
123
|
+
while (app.hasPendingEvents()):
|
124
|
+
app.processEvents()
|
125
|
+
cls.processOrangeEvents(cls)
|
126
|
+
app.flush()
|
127
|
+
del cls.canvas_window
|
128
|
+
|
129
|
+
gc.collect()
|
130
|
+
# Collect any cycles before deleting the QApplication instance
|
131
|
+
TestCase.tearDownClass()
|
132
|
+
|
133
|
+
def tearDown(self):
|
134
|
+
while(app.hasPendingEvents()):
|
135
|
+
app.processEvents()
|
136
|
+
TestCase.tearDown(self)
|
137
|
+
|
138
|
+
@staticmethod
|
139
|
+
def fix_osx_10_9_private_font():
|
140
|
+
# Fix fonts on Os X (QTBUG 47206, 40833, 32789)
|
141
|
+
if sys.platform == "darwin":
|
142
|
+
import platform
|
143
|
+
try:
|
144
|
+
version = platform.mac_ver()[0]
|
145
|
+
version = float(version[:version.rfind(".")])
|
146
|
+
if version >= 10.11: # El Capitan
|
147
|
+
QFont.insertSubstitution(".SF NS Text", "Helvetica Neue")
|
148
|
+
elif version >= 10.10: # Yosemite
|
149
|
+
QFont.insertSubstitution(".Helvetica Neue DeskInterface",
|
150
|
+
"Helvetica Neue")
|
151
|
+
elif version >= 10.9:
|
152
|
+
QFont.insertSubstitution(".Lucida Grande UI", "Lucida Grande")
|
153
|
+
except AttributeError:
|
154
|
+
pass
|
155
|
+
|
156
|
+
@staticmethod
|
157
|
+
def fix_win_pythonw_std_stream():
|
158
|
+
"""
|
159
|
+
On windows when running without a console (using pythonw.exe) the
|
160
|
+
std[err|out] file descriptors are invalid and start throwing exceptions
|
161
|
+
when their buffer is flushed (`http://bugs.python.org/issue706263`_)
|
162
|
+
|
163
|
+
"""
|
164
|
+
if sys.platform == "win32" and \
|
165
|
+
os.path.basename(sys.executable) == "pythonw.exe":
|
166
|
+
if sys.stdout is None:
|
167
|
+
sys.stdout = open(os.devnull, "w")
|
168
|
+
if sys.stderr is None:
|
169
|
+
sys.stderr = open(os.devnull, "w")
|
170
|
+
|
171
|
+
def processOrangeEvents(self):
|
172
|
+
self.canvas_window.current_document().scheme().signal_manager.process_queued()
|
173
|
+
|
174
|
+
def processOrangeEventsStack(self):
|
175
|
+
node_update_front = self.canvas_window.current_document().scheme().signal_manager.node_update_front()
|
176
|
+
if node_update_front:
|
177
|
+
self.processOrangeEvents()
|
178
|
+
self.processOrangeEventsStack()
|
179
|
+
|
180
|
+
def init(self):
|
181
|
+
# Fix streams before configuring logging (otherwise it will store
|
182
|
+
# and write to the old file descriptors)
|
183
|
+
OrangeWorflowTest.fix_win_pythonw_std_stream()
|
184
|
+
|
185
|
+
# Try to fix fonts on OSX Mavericks
|
186
|
+
OrangeWorflowTest.fix_osx_10_9_private_font()
|
187
|
+
|
188
|
+
# File handler should always be at least INFO level so we need
|
189
|
+
# the application root level to be at least at INFO.
|
190
|
+
|
191
|
+
rootlogger = logging.getLogger(canvas.__name__)
|
192
|
+
|
193
|
+
if graypy is not None and configweb.grayport_host is not None:
|
194
|
+
self.graylogHandler = graypy.GELFHandler(configweb.grayport_host, configweb.grayport_port)
|
195
|
+
rootlogger.addHandler(self.graylogHandler)
|
196
|
+
|
197
|
+
# Standard output stream handler at the requested level
|
198
|
+
stream_hander = logging.StreamHandler()
|
199
|
+
rootlogger.addHandler(stream_hander)
|
200
|
+
|
201
|
+
log.info("Starting 'Orange Canvas' application.")
|
202
|
+
log.debug("Starting CanvasApplicaiton ")
|
203
|
+
# NOTE: config.init() must be called after the QApplication constructor
|
204
|
+
config.init()
|
205
|
+
|
206
|
+
file_handler = logging.FileHandler(
|
207
|
+
filename=os.path.join(config.log_dir(), "canvas.log"),
|
208
|
+
mode="w"
|
209
|
+
)
|
210
|
+
|
211
|
+
rootlogger.addHandler(file_handler)
|
212
|
+
|
213
|
+
# intercept any QFileOpenEvent requests until the main window is
|
214
|
+
# fully initialized.
|
215
|
+
# NOTE: The QApplication must have the executable ($0) and filename
|
216
|
+
# arguments passed in argv otherwise the FileOpen events are
|
217
|
+
# triggered for them (this is done by Cocoa, but QApplicaiton filters
|
218
|
+
# them out if passed in argv)
|
219
|
+
|
220
|
+
open_requests = []
|
221
|
+
def onrequest(url):
|
222
|
+
log.info("Received an file open request %s", url)
|
223
|
+
open_requests.append(url)
|
224
|
+
|
225
|
+
app.fileOpenRequest.connect(onrequest)
|
226
|
+
|
227
|
+
stylesheet = "orange"
|
228
|
+
stylesheet_string = None
|
229
|
+
|
230
|
+
if stylesheet != "none":
|
231
|
+
if os.path.isfile(stylesheet):
|
232
|
+
with open(stylesheet, "r") as f:
|
233
|
+
stylesheet_string = f.read()
|
234
|
+
else:
|
235
|
+
if not os.path.splitext(stylesheet)[1]:
|
236
|
+
# no extension
|
237
|
+
stylesheet = os.path.extsep.join([stylesheet, "qss"])
|
238
|
+
|
239
|
+
pkg_name = canvas.__name__
|
240
|
+
resource = "styles/" + stylesheet
|
241
|
+
|
242
|
+
if pkg_resources.resource_exists(pkg_name, resource):
|
243
|
+
stylesheet_string = \
|
244
|
+
pkg_resources.resource_string(pkg_name, resource).decode()
|
245
|
+
|
246
|
+
base = pkg_resources.resource_filename(pkg_name, "styles")
|
247
|
+
|
248
|
+
pattern = re.compile(
|
249
|
+
r"^\s@([a-zA-Z0-9_]+?)\s*:\s*([a-zA-Z0-9_/]+?);\s*$",
|
250
|
+
flags=re.MULTILINE
|
251
|
+
)
|
252
|
+
|
253
|
+
matches = pattern.findall(stylesheet_string)
|
254
|
+
|
255
|
+
for prefix, search_path in matches:
|
256
|
+
QDir.addSearchPath(prefix, os.path.join(base, search_path))
|
257
|
+
log.info("Adding search path %r for prefix, %r",
|
258
|
+
search_path, prefix)
|
259
|
+
|
260
|
+
stylesheet_string = pattern.sub("", stylesheet_string)
|
261
|
+
|
262
|
+
else:
|
263
|
+
log.info("%r style sheet not found.", stylesheet)
|
264
|
+
|
265
|
+
# Add the default canvas_icons search path
|
266
|
+
dirpath = os.path.abspath(os.path.dirname(canvas.__file__))
|
267
|
+
QDir.addSearchPath("canvas_icons", os.path.join(dirpath, "icons"))
|
268
|
+
self.canvas_window = CanvasMainWindow()
|
269
|
+
self.canvas_window.setWindowIcon(config.application_icon())
|
270
|
+
|
271
|
+
if stylesheet_string is not None:
|
272
|
+
self.canvas_window.setStyleSheet(stylesheet_string)
|
273
|
+
|
274
|
+
reg_cache = None
|
275
|
+
widget_discovery = qt.QtWidgetDiscovery(cached_descriptions=reg_cache)
|
276
|
+
|
277
|
+
self.widget_registry = qt.QtWidgetRegistry()
|
278
|
+
|
279
|
+
widget_discovery.found_category.connect(
|
280
|
+
self.widget_registry.register_category
|
281
|
+
)
|
282
|
+
widget_discovery.found_widget.connect(
|
283
|
+
self.widget_registry.register_widget
|
284
|
+
)
|
285
|
+
|
286
|
+
cache_filename = os.path.join(cache_dir(), "widget-registry.pck")
|
287
|
+
widget_discovery.run(config.widgets_entry_points())
|
288
|
+
# Store cached descriptions
|
289
|
+
cache.save_registry_cache(widget_discovery.cached_descriptions)
|
290
|
+
with open(cache_filename, "wb") as f:
|
291
|
+
pickle.dump(WidgetRegistry(self.widget_registry), f)
|
292
|
+
|
293
|
+
set_global_registry(self.widget_registry)
|
294
|
+
self.canvas_window.set_widget_registry(self.widget_registry)
|
295
|
+
self.canvas_window.show()
|
296
|
+
|
297
|
+
# Process events to make sure the self.canvas_window layout has
|
298
|
+
# a chance to activate (the welcome dialog is modal and will
|
299
|
+
# block the event queue, plus we need a chance to receive open file
|
300
|
+
# signals when running without a splash screen)
|
301
|
+
app.processEvents()
|
302
|
+
log.info("discovery ended")
|
303
|
+
# Tee stdout and stderr into Output dock
|
304
|
+
log_view = self.canvas_window.log_view()
|
305
|
+
|
306
|
+
stdout = TextStream()
|
307
|
+
stdout.stream.connect(log_view.write)
|
308
|
+
if sys.stdout:
|
309
|
+
stdout.stream.connect(sys.stdout.write)
|
310
|
+
stdout.flushed.connect(sys.stdout.flush)
|
311
|
+
stderr = TextStream()
|
312
|
+
error_writer = log_view.formated(color=Qt.red)
|
313
|
+
stderr.stream.connect(error_writer.write)
|
314
|
+
if sys.stderr:
|
315
|
+
stderr.stream.connect(sys.stderr.write)
|
316
|
+
stderr.flushed.connect(sys.stderr.flush)
|
317
|
+
|
318
|
+
log.info("End initialization")
|
@@ -0,0 +1,253 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# /*##########################################################################
|
3
|
+
#
|
4
|
+
# Copyright (c) 2015-2016 European Synchrotron Radiation Facility
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in
|
14
|
+
# all copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
+
# THE SOFTWARE.
|
23
|
+
#
|
24
|
+
# ###########################################################################*/
|
25
|
+
"""Full tomwer test suite.
|
26
|
+
|
27
|
+
"""
|
28
|
+
|
29
|
+
__authors__ = ["H.Payno"]
|
30
|
+
__license__ = "MIT"
|
31
|
+
__date__ = "19/01/2017"
|
32
|
+
|
33
|
+
import logging
|
34
|
+
import os
|
35
|
+
import shutil
|
36
|
+
|
37
|
+
from tomwer.core.utils import ftseriesutils
|
38
|
+
from silx.gui import qt
|
39
|
+
|
40
|
+
from tomwer.test.utils import UtilsTest
|
41
|
+
|
42
|
+
logger = logging.getLogger(__name__)
|
43
|
+
|
44
|
+
|
45
|
+
class Simulation(qt.QThread):
|
46
|
+
"""Simulation is a simple class able to simulate an acquisition by copying
|
47
|
+
files on a targetted directory.
|
48
|
+
|
49
|
+
:param str: targetdir the folder where the acquisition is stored
|
50
|
+
:param str: manipulationId the id of the simulation we want to simulate
|
51
|
+
:param str: finalState when launched, the state to reach before stopping
|
52
|
+
|
53
|
+
:warning: the targetted directory won't be removed or cleaned during class
|
54
|
+
destruction. This is to be managed by callers.
|
55
|
+
"""
|
56
|
+
|
57
|
+
advancement = {
|
58
|
+
'not started': -1,
|
59
|
+
'starting-s0': 0,
|
60
|
+
'starting-s1': 1,
|
61
|
+
'acquisitionRunning': 2,
|
62
|
+
'acquisitionDone': 3,
|
63
|
+
'reconstructionLaunched': 4}
|
64
|
+
sigAdvancementChanged = qt.Signal(int)
|
65
|
+
|
66
|
+
__definedDataset = ['test01', 'test10']
|
67
|
+
|
68
|
+
def __init__(self, targetdir, manipulationId, finalState=4):
|
69
|
+
assert(type(manipulationId) is str)
|
70
|
+
assert(type(targetdir) is str)
|
71
|
+
assert(manipulationId in self.__definedDataset)
|
72
|
+
super(Simulation, self).__init__()
|
73
|
+
|
74
|
+
self.targetdir = targetdir
|
75
|
+
self.outputFolder = targetdir + '/' + manipulationId
|
76
|
+
self.finalState = finalState
|
77
|
+
self.currentState = 'not started'
|
78
|
+
self._createFinalXML = False
|
79
|
+
self.originalFolder, self.nbSlices, self.manipulationId = \
|
80
|
+
self.__getOriginalDataSet(manipulationId)
|
81
|
+
self.stopFileCreationForRunningState = int(self.nbSlices/2)
|
82
|
+
self.srcPattern = None
|
83
|
+
self.destPattern = None
|
84
|
+
|
85
|
+
def __getOriginalDataSet(self, dataSetID):
|
86
|
+
"""Return paths to the requested dataset
|
87
|
+
"""
|
88
|
+
assert(dataSetID in self.__definedDataset)
|
89
|
+
dataDir = UtilsTest.getDataset(dataSetID)
|
90
|
+
|
91
|
+
assert(os.path.isdir(dataDir))
|
92
|
+
assert(os.path.isfile(os.path.join(dataDir, dataSetID + ".info")))
|
93
|
+
slices = ftseriesutils.getRadioPaths(dataDir)
|
94
|
+
nbSlices = len(slices)
|
95
|
+
manipulationID = dataSetID
|
96
|
+
|
97
|
+
return dataDir, nbSlices, manipulationID
|
98
|
+
|
99
|
+
def advanceTo(self, state):
|
100
|
+
"""Reset the new advancement targetted
|
101
|
+
|
102
|
+
:param str state: the new state to reach when run will be executed
|
103
|
+
"""
|
104
|
+
assert(state in Simulation.advancement)
|
105
|
+
assert(type(state) is str)
|
106
|
+
self.finalState = Simulation.advancement[state]
|
107
|
+
|
108
|
+
def setSrcDestPatterns(self, srcPattern, destPattern):
|
109
|
+
"""
|
110
|
+
If setted, will set the .info and .xml files into a different folder
|
111
|
+
"""
|
112
|
+
self.srcPattern = srcPattern
|
113
|
+
self.destPattern = destPattern
|
114
|
+
if srcPattern is not None or destPattern is not None:
|
115
|
+
assert(os.path.isdir(srcPattern))
|
116
|
+
assert(os.path.isdir(destPattern))
|
117
|
+
targettedFolder = self.outputFolder.replace(self.srcPattern, self.destPattern, 1)
|
118
|
+
if not os.path.isdir(targettedFolder):
|
119
|
+
os.mkdir(targettedFolder)
|
120
|
+
|
121
|
+
def __shouldExecStep(self, step):
|
122
|
+
"""Return True if the thread should exec this step to advance taking
|
123
|
+
into consideration is current state and his final state
|
124
|
+
"""
|
125
|
+
return self.finalState >= self.advancement[step] and \
|
126
|
+
(Simulation.advancement[self.currentState] +1 == self.advancement[step])
|
127
|
+
|
128
|
+
def run(self):
|
129
|
+
"""Main function, run the acquisition through all states until
|
130
|
+
finalState is reached
|
131
|
+
"""
|
132
|
+
if self.__shouldExecStep('starting-s0') is True:
|
133
|
+
logger.info('starting-s0')
|
134
|
+
self._startAcquisition()
|
135
|
+
self.currentState = 'starting-s0'
|
136
|
+
self.signalCurrentState()
|
137
|
+
|
138
|
+
if self.__shouldExecStep('starting-s1') is True:
|
139
|
+
self.copyInitialFiles()
|
140
|
+
logger.info('starting-s1')
|
141
|
+
self.currentState = 'starting-s1'
|
142
|
+
self.signalCurrentState()
|
143
|
+
|
144
|
+
if self.__shouldExecStep('acquisitionRunning') is True:
|
145
|
+
self._copyScans((0,
|
146
|
+
self.stopFileCreationForRunningState))
|
147
|
+
logger.info('acquisitionRunning')
|
148
|
+
self.currentState = 'acquisitionRunning'
|
149
|
+
self.signalCurrentState()
|
150
|
+
|
151
|
+
if self.__shouldExecStep('acquisitionDone') is True:
|
152
|
+
self._copyScans((self.stopFileCreationForRunningState,
|
153
|
+
self.nbSlices))
|
154
|
+
if self._createFinalXML is True:
|
155
|
+
inputXMLFile = os.path.join(self.originalFolder, self.manipulationId + '.xml')
|
156
|
+
assert(os.path.isfile(inputXMLFile))
|
157
|
+
ouputXMLFile = os.path.join(self.outputFolder, self.manipulationId + '.xml')
|
158
|
+
shutil.copyfile(inputXMLFile, ouputXMLFile)
|
159
|
+
|
160
|
+
logger.info('acquisitionDone')
|
161
|
+
self.currentState = 'acquisitionDone'
|
162
|
+
self.signalCurrentState()
|
163
|
+
|
164
|
+
def signalCurrentState(self):
|
165
|
+
"""Signal the actual state of the simulation
|
166
|
+
"""
|
167
|
+
self.sigAdvancementChanged.emit(self.currentState)
|
168
|
+
|
169
|
+
def _startAcquisition(self):
|
170
|
+
"""create needed data dir
|
171
|
+
"""
|
172
|
+
for newFolder in (self.targetdir, self.outputFolder):
|
173
|
+
if not os.path.exists(self.outputFolder):
|
174
|
+
os.makedirs(self.outputFolder)
|
175
|
+
|
176
|
+
def _copyScans(self, _slicesRange):
|
177
|
+
"""copy the .edf file from the original directory to the outputFolder
|
178
|
+
|
179
|
+
:_slicesRange tuple: the _range of slices data we want to copy
|
180
|
+
"""
|
181
|
+
logger.info('copying files from %s to %s' % (_slicesRange[0], _slicesRange[1]))
|
182
|
+
for iSlice in list(range(_slicesRange[0], _slicesRange[1])):
|
183
|
+
filename = "".join((self.manipulationId, format(iSlice, '04d'), '.edf'))
|
184
|
+
srcFile = os.path.join(self.originalFolder, filename)
|
185
|
+
outputFile = os.path.join(self.outputFolder, filename)
|
186
|
+
assert(os.path.isfile(srcFile))
|
187
|
+
assert(os.path.isdir(self.outputFolder))
|
188
|
+
shutil.copyfile(srcFile, outputFile)
|
189
|
+
|
190
|
+
def copyInitialFiles(self):
|
191
|
+
"""copy the .info file
|
192
|
+
"""
|
193
|
+
assert(os.path.isdir(self.originalFolder))
|
194
|
+
logger.info('copying initial files (.info, .xml...) from %s to %s' % (self.originalFolder, self.manipulationId))
|
195
|
+
for extension in ('.info', '.db', '.cfg'):
|
196
|
+
filename = "".join((self.manipulationId, extension))
|
197
|
+
srcFile = os.path.join(self.originalFolder, filename)
|
198
|
+
|
199
|
+
targettedFolder = self.outputFolder
|
200
|
+
if self.srcPattern is not None or self.destPattern is not None:
|
201
|
+
targettedFolder = self.outputFolder.replace(self.srcPattern, self.destPattern, 1)
|
202
|
+
assert(os.path.isfile(srcFile))
|
203
|
+
assert(os.path.isdir(targettedFolder))
|
204
|
+
assert (os.path.isdir(self.originalFolder))
|
205
|
+
shutil.copy2(srcFile, targettedFolder)
|
206
|
+
|
207
|
+
def createFinalXML(self, val):
|
208
|
+
"""If activated, once all the file will be copied, this will create
|
209
|
+
an .xml file into the output directory
|
210
|
+
"""
|
211
|
+
self._createFinalXML = val
|
212
|
+
|
213
|
+
def createParFile(self):
|
214
|
+
pass
|
215
|
+
|
216
|
+
def createReconstructedFile(self):
|
217
|
+
pass
|
218
|
+
|
219
|
+
def createOARJob(self):
|
220
|
+
pass
|
221
|
+
|
222
|
+
def createDark(self):
|
223
|
+
pass
|
224
|
+
|
225
|
+
def createJPG(self):
|
226
|
+
pass
|
227
|
+
|
228
|
+
def createVolfloat(self):
|
229
|
+
pass
|
230
|
+
|
231
|
+
def createVolraw(self):
|
232
|
+
pass
|
233
|
+
|
234
|
+
def __createFileTo(self, filePath):
|
235
|
+
assert(type(filePath) is str)
|
236
|
+
open(filePath, 'a').close()
|
237
|
+
|
238
|
+
|
239
|
+
def main():
|
240
|
+
import time
|
241
|
+
_qapp = qt.QApplication.instance() or qt.QApplication([])
|
242
|
+
|
243
|
+
inputdir = '/tmp'
|
244
|
+
manipulationId = 'test10'
|
245
|
+
s = Simulation(inputdir, manipulationId, finalState=Simulation.advancement['acquisitionRunning'])
|
246
|
+
s.start()
|
247
|
+
while(not s.isFinished()):
|
248
|
+
_qapp.processEvents()
|
249
|
+
time.sleep(1)
|
250
|
+
|
251
|
+
|
252
|
+
if __name__ == '__main__':
|
253
|
+
main()
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
#/*##########################################################################
|
3
|
+
# Copyright (C) 2016 European Synchrotron Radiation Facility
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in
|
13
|
+
# all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
# THE SOFTWARE.
|
22
|
+
#
|
23
|
+
#############################################################################*/
|
24
|
+
|
25
|
+
|
26
|
+
__authors__ = ["H.Payno"]
|
27
|
+
__license__ = "MIT"
|
28
|
+
__date__ = "15/05/2017"
|
29
|
+
|
30
|
+
import unittest
|
31
|
+
from . import test_scanlist_samplemoved
|
32
|
+
from . import test_scanlist_ftserie
|
33
|
+
from . import test_workflows
|
34
|
+
from . import test_dark_flat_field
|
35
|
+
from ..widgets import test as test_widgets
|
36
|
+
|
37
|
+
|
38
|
+
def suite(loader=None, pattern='test*.py'):
|
39
|
+
test_suite = unittest.TestSuite()
|
40
|
+
test_suite.addTest(test_widgets.suite())
|
41
|
+
test_suite.addTest(test_scanlist_ftserie.suite())
|
42
|
+
test_suite.addTests(test_workflows.suite())
|
43
|
+
test_suite.addTest(test_dark_flat_field.suite())
|
44
|
+
test_suite.addTest(test_scanlist_samplemoved.suite())
|
45
|
+
return test_suite
|
46
|
+
|
47
|
+
|
48
|
+
if __name__ == '__main__':
|
49
|
+
unittest.main(defaultTest='suite')
|