tomwer 1.3.7__py3-none-any.whl → 1.3.8__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.
- tomwer/core/process/reconstruction/nabu/utils.py +2 -0
- tomwer/gui/control/datawatcher/datawatcher.py +1 -24
- tomwer/version.py +1 -1
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/METADATA +1 -1
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/RECORD +11 -108
- orangecontrib/tomwer/test/TestAcquisition.py +0 -246
- orangecontrib/tomwer/widgets/cluster/test/test_future_supervisorow.py +0 -87
- orangecontrib/tomwer/widgets/cluster/test/test_slurm_clusterow.py +0 -67
- orangecontrib/tomwer/widgets/control/test/test_advancement.py +0 -51
- orangecontrib/tomwer/widgets/control/test/test_data_validator.py +0 -55
- orangecontrib/tomwer/widgets/control/test/test_datadiscovery.py +0 -131
- orangecontrib/tomwer/widgets/control/test/test_datalist.py +0 -70
- orangecontrib/tomwer/widgets/control/test/test_datalistener.py +0 -137
- orangecontrib/tomwer/widgets/control/test/test_dataselector.py +0 -95
- orangecontrib/tomwer/widgets/control/test/test_datawatcher.py +0 -436
- orangecontrib/tomwer/widgets/control/test/test_emailow.py +0 -29
- orangecontrib/tomwer/widgets/control/test/test_notifier.py +0 -51
- orangecontrib/tomwer/widgets/control/test/test_nxtomo_concatenate_ow.py +0 -64
- orangecontrib/tomwer/widgets/control/test/test_nxtomomill.py +0 -160
- orangecontrib/tomwer/widgets/control/test/test_reduce_dark_flat_selector.py +0 -40
- orangecontrib/tomwer/widgets/control/test/test_singletomoobj.py +0 -40
- orangecontrib/tomwer/widgets/control/test/test_timerow.py +0 -51
- orangecontrib/tomwer/widgets/control/test/test_tomoobj_serie.py +0 -96
- orangecontrib/tomwer/widgets/control/test/test_volume_selector.py +0 -69
- orangecontrib/tomwer/widgets/control/test/test_volumesymlink.py +0 -51
- orangecontrib/tomwer/widgets/debugtools/test/test_dataset_generator.py +0 -57
- orangecontrib/tomwer/widgets/debugtools/test/test_object_inspector.py +0 -62
- orangecontrib/tomwer/widgets/other/test/test_pythonscript.py +0 -31
- orangecontrib/tomwer/widgets/reconstruction/test/test_axis.py +0 -224
- orangecontrib/tomwer/widgets/reconstruction/test/test_cast_volumeow.py +0 -85
- orangecontrib/tomwer/widgets/reconstruction/test/test_dark_refs_widget.py +0 -136
- orangecontrib/tomwer/widgets/reconstruction/test/test_delta_beta_selector.py +0 -15
- orangecontrib/tomwer/widgets/reconstruction/test/test_i_norm.py +0 -226
- orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_helical_prepare_weights_double.py +0 -20
- orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_volume.py +0 -100
- orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_widget.py +0 -107
- orangecontrib/tomwer/widgets/reconstruction/test/test_sa_delta_beta.py +0 -194
- orangecontrib/tomwer/widgets/reconstruction/test/test_saaxis.py +0 -220
- orangecontrib/tomwer/widgets/stitching/test/test_zstitching.py +0 -308
- orangecontrib/tomwer/widgets/test/test_conditions.py +0 -111
- orangecontrib/tomwer/widgets/test/test_darkref.py +0 -251
- orangecontrib/tomwer/widgets/test/test_foldertransfert.py +0 -131
- orangecontrib/tomwer/widgets/visualization/test/test_dataviewerow.py +0 -83
- orangecontrib/tomwer/widgets/visualization/test/test_diffviewerow.py +0 -65
- orangecontrib/tomwer/widgets/visualization/test/test_live_sliceow.py +0 -63
- orangecontrib/tomwer/widgets/visualization/test/test_nxtomo_metadata_viewer.py +0 -29
- orangecontrib/tomwer/widgets/visualization/test/test_radio_stackow.py +0 -56
- orangecontrib/tomwer/widgets/visualization/test/test_sample_movedow.py +0 -72
- orangecontrib/tomwer/widgets/visualization/test/test_sinogram_viewerow.py +0 -56
- orangecontrib/tomwer/widgets/visualization/test/test_slice_stackow.py +0 -57
- orangecontrib/tomwer/widgets/visualization/test/test_volume_viewerow.py +0 -57
- tomwer/core/log/test/test_processlog.py +0 -41
- tomwer/core/process/edit/test/test_darkflatpatch.py +0 -269
- tomwer/core/process/edit/test/test_imagekey_editor.py +0 -125
- tomwer/core/process/icat/test/test_create_screenshots.py +0 -98
- tomwer/core/process/icat/test/test_gallery.py +0 -170
- tomwer/core/process/reconstruction/nabu/test/test_castvolume.py +0 -143
- tomwer/core/process/reconstruction/nabu/test/test_nabu_utils.py +0 -203
- tomwer/core/process/reconstruction/nabu/test/test_nabunormalization.py +0 -222
- tomwer/core/process/script/test/test_script.py +0 -68
- tomwer/core/process/stitching/test/test_metadataholder.py +0 -17
- tomwer/core/process/visualization/test/test_data_viewer.py +0 -39
- tomwer/core/process/visualization/test/test_diff_viewer.py +0 -39
- tomwer/core/process/visualization/test/test_image_stack_viewer.py +0 -41
- tomwer/core/process/visualization/test/test_radio_stack.py +0 -39
- tomwer/core/process/visualization/test/test_sample_moved.py +0 -41
- tomwer/core/process/visualization/test/test_sinogram_viewer.py +0 -39
- tomwer/core/process/visualization/test/test_slice_stack.py +0 -39
- tomwer/core/process/visualization/test/test_volume_viewer.py +0 -39
- tomwer/core/utils/test/test_image.py +0 -30
- tomwer/core/utils/test/test_nxtomo.py +0 -66
- tomwer/core/utils/test/test_scan_utils.py +0 -46
- tomwer/core/utils/test/test_time.py +0 -6
- tomwer/core/volume/test/test_volumes.py +0 -21
- tomwer/gui/control/serie/test/test_creator.py +0 -451
- tomwer/gui/control/serie/test/test_nxtomo_concatenate.py +0 -21
- tomwer/gui/icat/test/test_create_screenshots_gui.py +0 -23
- tomwer/gui/icat/test/test_gallery_gui.py +0 -37
- tomwer/gui/reconstruction/nabu/test/test_check.py +0 -92
- tomwer/gui/reconstruction/nabu/test/test_ctf.py +0 -46
- tomwer/gui/reconstruction/nabu/test/test_helical.py +0 -21
- tomwer/gui/reconstruction/nabu/test/test_nabu_preprocessing.py +0 -81
- tomwer/gui/reconstruction/normalization/test/test_intensity.py +0 -119
- tomwer/gui/stitching/config/tests/test_axisparams.py +0 -25
- tomwer/gui/stitching/tests/test_axis_ordered_list.py +0 -21
- tomwer/gui/stitching/tests/test_normalization.py +0 -27
- tomwer/gui/stitching/tests/test_preview.py +0 -85
- tomwer/gui/stitching/tests/test_stitching_raw.py +0 -110
- tomwer/gui/stitching/tests/test_z_stitching.py +0 -67
- tomwer/gui/stitching/tests/utils.py +0 -79
- tomwer/gui/stitching/z_stitching/tests/test_fine_estimation.py +0 -35
- tomwer/gui/stitching/z_stitching/tests/test_raw_estimation.py +0 -215
- tomwer/gui/stitching/z_stitching/tests/test_stitching_window.py +0 -51
- tomwer/gui/utils/test/test_completer.py +0 -67
- tomwer/gui/utils/test/test_line_selector.py +0 -21
- tomwer/gui/utils/test/test_splashscreen.py +0 -8
- tomwer/gui/utils/test/test_vignettes.py +0 -68
- tomwer/io/utils/test/test_raw_and_processed_data.py +0 -10
- tomwer/io/utils/test/test_utils.py +0 -92
- tomwer/tests/test_ewoks/test_conversion.py +0 -104
- tomwer/tests/test_ewoks/test_single_node_execution.py +0 -112
- tomwer/tests/test_ewoks/test_workflows.py +0 -160
- /tomwer-1.3.7-py3.11-nspkg.pth → /tomwer-1.3.8-py3.11-nspkg.pth +0 -0
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/LICENSE +0 -0
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/WHEEL +0 -0
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/entry_points.txt +0 -0
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/namespace_packages.txt +0 -0
- {tomwer-1.3.7.dist-info → tomwer-1.3.8.dist-info}/top_level.txt +0 -0
@@ -461,6 +461,8 @@ def nabu_std_err_has_error(errs: typing.Optional[bytes]):
|
|
461
461
|
in line
|
462
462
|
or "return SourceModule(" in line
|
463
463
|
or "CUBLAS" in line
|
464
|
+
or "Not supported for EDF"
|
465
|
+
in line # debatable but very disturbing from the gui side... anyway EDF days are coming to an end
|
464
466
|
)
|
465
467
|
|
466
468
|
if errs is None:
|
@@ -148,7 +148,6 @@ class DataWatcherWidget(_DataWatcher, qt.QMainWindow):
|
|
148
148
|
|
149
149
|
# set initial path to observe
|
150
150
|
self.setFolderObserved(self._getInitPath())
|
151
|
-
self._initStatusView()
|
152
151
|
|
153
152
|
# hide all windows by default
|
154
153
|
for widget in (
|
@@ -475,20 +474,10 @@ class DataWatcherWidget(_DataWatcher, qt.QMainWindow):
|
|
475
474
|
self.observationThread.sigScanReady.disconnect(self._signalScanReady)
|
476
475
|
self.obsThIsConnected = False
|
477
476
|
|
478
|
-
def _initStatusView(self):
|
479
|
-
"""
|
480
|
-
The status view need a thread to update the animated icon when scanning
|
481
|
-
"""
|
482
|
-
self.__threadAnimation = QWaiterThread(0.1)
|
483
|
-
self.__threadAnimation.finished.connect(self._updateAnimatedIcon)
|
484
|
-
|
485
477
|
def _updateStatusView(self):
|
486
478
|
"""Update the processing state"""
|
487
479
|
if self.currentStatus in self._animatedStates:
|
488
|
-
|
489
|
-
self.__threadAnimation.start()
|
490
|
-
elif self.__threadAnimation is not None:
|
491
|
-
self.__threadAnimation.wait(4000)
|
480
|
+
pass
|
492
481
|
elif self.currentStatus == "acquisition ended":
|
493
482
|
self._setStateIcon(silxicons.getQIcon("selected"))
|
494
483
|
elif self.currentStatus == "failure":
|
@@ -506,18 +495,6 @@ class DataWatcherWidget(_DataWatcher, qt.QMainWindow):
|
|
506
495
|
else:
|
507
496
|
self._stateLabel.setPixmap(icon.pixmap(30, state=qt.QIcon.On))
|
508
497
|
|
509
|
-
def _updateAnimatedIcon(self):
|
510
|
-
"""Simple function which manage the waiting icon"""
|
511
|
-
if self.currentStatus in self._animatedStates:
|
512
|
-
icon = self.animated_icon.currentIcon()
|
513
|
-
if icon is None:
|
514
|
-
icon = qt.QIcon()
|
515
|
-
self.animated_icon._updateState()
|
516
|
-
self._setStateIcon(icon)
|
517
|
-
|
518
|
-
# get ready for the next animation
|
519
|
-
self.__threadAnimation.start()
|
520
|
-
|
521
498
|
def _signalScanReady(self, scan):
|
522
499
|
if type(scan) is str:
|
523
500
|
try:
|
tomwer/version.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
tomwer-1.3.
|
1
|
+
tomwer-1.3.8-py3.11-nspkg.pth,sha256=xeeGR3TjdoVxdFeF6T-zSwZWh6Et--EYuPWu67LxL_c,574
|
2
2
|
orangecontrib/tomwer/__init__.py,sha256=B4DXy1gY_wXmNYa2aOfapmJb2mEuCAjoaNEGnpBs70g,148
|
3
3
|
orangecontrib/tomwer/state_summary.py,sha256=5_dPzweL3r0ye4ZfJo6IV2ThJI8fQhWoO2ySdJJajj8,1711
|
4
4
|
orangecontrib/tomwer/orange/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
orangecontrib/tomwer/orange/managedprocess.py,sha256=fhI5r1xZde5QyHzu78ymywX7PHNxFRkNdQ7pRgY6rcc,4621
|
6
6
|
orangecontrib/tomwer/orange/settings.py,sha256=0aBTVBVIR441LOb-CoYCwRZ1ArB5Cq17xCiVH7cv_SA,2044
|
7
|
-
orangecontrib/tomwer/test/TestAcquisition.py,sha256=JoUAaju4Ba8cjA7C1K7B00D6mch56G4O0gKqaCIWY5w,9135
|
8
7
|
orangecontrib/tomwer/tutorials/EBS_tomo_listener.ows,sha256=GLHvcQnR79X2sTDqIq9h4ayb3Tya7S-givzPta63ciQ,4747
|
9
8
|
orangecontrib/tomwer/tutorials/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
9
|
orangecontrib/tomwer/tutorials/append_raw_darks_and_flats_frames_to_NXtomos.ows,sha256=wjdKn-QxONdHJHiPdIuvztz0VgGEyNyDcm9ahX06aEM,5485
|
@@ -28,8 +27,6 @@ orangecontrib/tomwer/widgets/cluster/icons/slurm.png,sha256=C-YBLwXCnh0oo4nvEt80
|
|
28
27
|
orangecontrib/tomwer/widgets/cluster/icons/slurm.svg,sha256=9LqiU88NH3ACxtZ8A7gTm-C_0ACR8iq0k_N2W1IFf9Q,9790
|
29
28
|
orangecontrib/tomwer/widgets/cluster/icons/slurmobserver.png,sha256=sxH1V20s0JZPTCq82Fizz8Q9RHXwviapdStgZT8GBIM,3212
|
30
29
|
orangecontrib/tomwer/widgets/cluster/icons/slurmobserver.svg,sha256=N22gP4exnQP5zYysfSGXIMTHh0QZmMQXjGOx2gOEpfc,56984
|
31
|
-
orangecontrib/tomwer/widgets/cluster/test/test_future_supervisorow.py,sha256=J_NqRHqYLYQLh-MLbSQABiCv-GrICBhNfIDfyN-umVs,3086
|
32
|
-
orangecontrib/tomwer/widgets/cluster/test/test_slurm_clusterow.py,sha256=j_xO1Ywzn-UmvaQbI6KWTPUU0QtDbCU27rQy-dG5V3I,2551
|
33
30
|
orangecontrib/tomwer/widgets/control/AdvancementOW.py,sha256=woHIL0VQSMDzPsli4cwOh0lxKLm7azSOG3j9xxYJdII,2460
|
34
31
|
orangecontrib/tomwer/widgets/control/DataDiscoveryOW.py,sha256=DD5OzGS5p3bdTaoqO3YL-rPbqplsjmv13XbTAEI9LSs,8041
|
35
32
|
orangecontrib/tomwer/widgets/control/DataListOW.py,sha256=CKNPSaykTPnmgmtjNXPFMS_6HMQmsFQ3JCmqgKfM-0c,4774
|
@@ -92,23 +89,6 @@ orangecontrib/tomwer/widgets/control/icons/volumeselector.png,sha256=BIjuKaxxFt3
|
|
92
89
|
orangecontrib/tomwer/widgets/control/icons/volumeselector.svg,sha256=VWlAb73s-eZfF85-e9VjVf18LcYQjb1W7YWH9PPLE4M,10936
|
93
90
|
orangecontrib/tomwer/widgets/control/icons/volumesymlink.png,sha256=Gf9qmYvxpnGMn4BbCCTwHPfME5yfhM6FlOc5l00CGus,1895
|
94
91
|
orangecontrib/tomwer/widgets/control/icons/volumesymlink.svg,sha256=jVIt49I_7VeN9OQF1GeSujP_KwegQD4YFmIqOA-Jv9c,5786
|
95
|
-
orangecontrib/tomwer/widgets/control/test/test_advancement.py,sha256=wI29hQhpmleY28pZJfuRFYX77GlIRkpcrqD2egqwoG8,1860
|
96
|
-
orangecontrib/tomwer/widgets/control/test/test_data_validator.py,sha256=c4x4qiwsTR3o03idEQPFWOup3p5FJ8Jo4GwIuB4NE2Q,1547
|
97
|
-
orangecontrib/tomwer/widgets/control/test/test_datadiscovery.py,sha256=rEzu29G118jfU3hzlVyVb9mHIfBVt230v0_bOWVjY-I,4798
|
98
|
-
orangecontrib/tomwer/widgets/control/test/test_datalist.py,sha256=t7AspmdkO7ht0whTn9MWY-pp0P3tHXzp_IgRw8j31_E,2458
|
99
|
-
orangecontrib/tomwer/widgets/control/test/test_datalistener.py,sha256=Xil_g5Q_ePPcPcpp1TeECajn5DhhWP_A7oHSiDwHfwc,5032
|
100
|
-
orangecontrib/tomwer/widgets/control/test/test_dataselector.py,sha256=88M43J1soUzNw4bAB9XwECrzoaC1y3PnKJmbm8MkNOA,3416
|
101
|
-
orangecontrib/tomwer/widgets/control/test/test_datawatcher.py,sha256=zC_m43D9CSpfxGFjMtmWm2hTxgPuMgBxMBHgl5fxoUw,15740
|
102
|
-
orangecontrib/tomwer/widgets/control/test/test_emailow.py,sha256=B6PBns2iaw5KZKjp5ncMl7NiKMyD-qjfj44oVgNj_Oo,710
|
103
|
-
orangecontrib/tomwer/widgets/control/test/test_notifier.py,sha256=oFbPgsqi6BftH5vT9oG_TAq61bhOiBWkLIs2osjDfkQ,1862
|
104
|
-
orangecontrib/tomwer/widgets/control/test/test_nxtomo_concatenate_ow.py,sha256=qb1DbzBH2Nwmzj26TN35-9NDHi0wSIGkFXII9JujyHw,1680
|
105
|
-
orangecontrib/tomwer/widgets/control/test/test_nxtomomill.py,sha256=7LRyebOCXt0ylwKB4_nfMGySASNsakFPswXuNV8lyWw,5399
|
106
|
-
orangecontrib/tomwer/widgets/control/test/test_reduce_dark_flat_selector.py,sha256=_Z6m0ReLn6SOVaMpNa6bajYQ9V-yTTNqXIk53T5Gf7Q,1086
|
107
|
-
orangecontrib/tomwer/widgets/control/test/test_singletomoobj.py,sha256=F-vu5AfMBuL6GKwRqkgkuW0mOXenQ0Clgvbb27cdpT4,1191
|
108
|
-
orangecontrib/tomwer/widgets/control/test/test_timerow.py,sha256=uZrbWYnQ4BMMxCN9n56YcLUtYtBvjKSec-OCUXmmWcg,1841
|
109
|
-
orangecontrib/tomwer/widgets/control/test/test_tomoobj_serie.py,sha256=8bBGEr1rDSPCMcWpxNcqYJwnyK3RLhpsVShNgcb_ONs,3573
|
110
|
-
orangecontrib/tomwer/widgets/control/test/test_volume_selector.py,sha256=-AY-VwmYMkX6oy4uDjAwRZ68ClSkKvE5Ou9Lt6eHX0U,2414
|
111
|
-
orangecontrib/tomwer/widgets/control/test/test_volumesymlink.py,sha256=CAHUHgbzAwp-f-EaocgRE3146qCt1jrFL66YzbiCqgY,1958
|
112
92
|
orangecontrib/tomwer/widgets/debugtools/DatasetGeneratorOW.py,sha256=L04zRJVSqfesCce5lfDdQiGbioWfQK8gJN5DP7FThWc,6374
|
113
93
|
orangecontrib/tomwer/widgets/debugtools/ObjectInspectorOW.py,sha256=oZKqVw4GXTWfnvx_zFHuoi6kbryvG9m8dDVDzSXap5U,2436
|
114
94
|
orangecontrib/tomwer/widgets/debugtools/__init__.py,sha256=yYF1v2MWP4g1uXZOw3qPPvDnX8KKzauVTRit6fJ9MWM,1553
|
@@ -116,8 +96,6 @@ orangecontrib/tomwer/widgets/debugtools/icons/hammer.png,sha256=5z_sXTWfAMCYhKbv
|
|
116
96
|
orangecontrib/tomwer/widgets/debugtools/icons/hammer.svg,sha256=7uovCO-33EP_A6sjGzQMkvF59hdF_Aj1hzr5yIAfDjk,3191
|
117
97
|
orangecontrib/tomwer/widgets/debugtools/icons/inspector.png,sha256=sNTPrEEDGQHwU-O6hXBZfdmXeUWUarZPsL3s6l9opSE,1020
|
118
98
|
orangecontrib/tomwer/widgets/debugtools/icons/inspector.svg,sha256=GPx4Xoo8dZGr0Ea6O_2YXcTh5Vg6Lzrh86uf6iG5opQ,3943
|
119
|
-
orangecontrib/tomwer/widgets/debugtools/test/test_dataset_generator.py,sha256=yKEbHUqeJ-t8_FGpZNnjvPi1RvUjPuhw2ulvlycfjFM,2062
|
120
|
-
orangecontrib/tomwer/widgets/debugtools/test/test_object_inspector.py,sha256=qkDcASVXmIbW32Cwyd9KCpJwN-_dEnuNi8od61Pzkx4,2197
|
121
99
|
orangecontrib/tomwer/widgets/edit/DarkFlatPatchOW.py,sha256=fRN66mig0NgVz_brLiiZE0bpn_n2YqfWVXj2f0B5ytE,6399
|
122
100
|
orangecontrib/tomwer/widgets/edit/ImageKeyEditorOW.py,sha256=hwSZssH3LuN9Z1BoaSPcROSyCmLJRw_ne8K_Piy3pAU,4467
|
123
101
|
orangecontrib/tomwer/widgets/edit/ImageKeyUpgraderOW.py,sha256=Uhn4GXxZ2RZADZrJk7poyp6-_pvUpJTUMyQYWZmlP8g,4820
|
@@ -171,7 +149,6 @@ orangecontrib/tomwer/widgets/other/__init__.py,sha256=7Ca9kD-HBAYOI72go7FckSGSeB
|
|
171
149
|
orangecontrib/tomwer/widgets/other/icons/PythonScript.svg,sha256=-8O2mNwRmyVdFvpcJsXLlOPcn50Sbv_qFHet1IF9T6A,5501
|
172
150
|
orangecontrib/tomwer/widgets/other/icons/hub.png,sha256=wnKSaxw2WnBkSQjI86aLZfdmKvV31Vputq1zukQIrXk,1122
|
173
151
|
orangecontrib/tomwer/widgets/other/icons/hub.svg,sha256=9EYoBKY-P-cO17nM48OPA9VDZSCbyGtrMRc80BGHflk,3735
|
174
|
-
orangecontrib/tomwer/widgets/other/test/test_pythonscript.py,sha256=pqllpHnX8WDo37lBs1DawHdLL9QE6YpqTvnGYKu6LIs,941
|
175
152
|
orangecontrib/tomwer/widgets/reconstruction/AxisOW.py,sha256=ffbMYzHWALir19bZhpXjYIgMfJjyyaeov9Uxp5tNyGs,22342
|
176
153
|
orangecontrib/tomwer/widgets/reconstruction/CastNabuVolumeOW.py,sha256=Ev-TrwZ-HxmdMfZMsz512vhCOgXpGImVsdNdlPSnQIM,9604
|
177
154
|
orangecontrib/tomwer/widgets/reconstruction/DarkRefAndCopyOW.py,sha256=DyjkZ3RDgUvEkK3yR8qCWQq9eaVus8I-64nvhrHN1ZQ,10988
|
@@ -208,23 +185,9 @@ orangecontrib/tomwer/widgets/reconstruction/icons/sadeltabeta.png,sha256=JJYo295
|
|
208
185
|
orangecontrib/tomwer/widgets/reconstruction/icons/sadeltabeta.svg,sha256=gQQFb5Uj2Vr8UPVtRGqNBz-aQWc5DcDvpSMGwv8VANE,14712
|
209
186
|
orangecontrib/tomwer/widgets/reconstruction/icons/tomogui.png,sha256=qg7SZMRY3QjK-tteyoN0ToU5gNs1ZflkwzUK5kVVVQI,6846
|
210
187
|
orangecontrib/tomwer/widgets/reconstruction/icons/tomwer.png,sha256=M9IWm_TDKlSA6PZ-FPblo2k6PH-kkT2d0ASRvZ-pM_8,8992
|
211
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_axis.py,sha256=S4BpDER-fTtJA5Vk3BYmsbLsVpV6b1LpokwJifc8Z1M,8206
|
212
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_cast_volumeow.py,sha256=fFuA8f9XSJ3flJEOi_4aqeUkZUXHRTNAoHYBRJTwB34,2936
|
213
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_dark_refs_widget.py,sha256=qCiY4Gm_z6OsoLjVDLpHv4W1zCYNiBDT5QSCvLPzrOc,4925
|
214
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_delta_beta_selector.py,sha256=BJcjGemqzqwjqBVVCMLB_ASDWGtAyQUO6cl4m2N9m2E,407
|
215
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_i_norm.py,sha256=y5LZg_M5ES50s-Wyppw8jJaH5ci5l4b3ngibHlDRx2w,7866
|
216
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_helical_prepare_weights_double.py,sha256=XSaLc4yNjutEp1yRbP4RI7Ii8uB2PjPGJDcuvx_V2gY,591
|
217
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_volume.py,sha256=G3yBm2iNrgt3CjI2cxJpsa2o-lPliFV-QdoYDCHA-C4,3621
|
218
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_nabu_widget.py,sha256=_yhT_ih0VIBsm2OdLObuZgjpLf38ILXvzn7pOTtxdl8,3780
|
219
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_sa_delta_beta.py,sha256=3zoCu0QYapnemEmQ5J0d-iG2MderB8_afxsHgiJCLFc,6222
|
220
|
-
orangecontrib/tomwer/widgets/reconstruction/test/test_saaxis.py,sha256=E5q5WiNJ9o8B-VDpa3pp1YyqH4nS1JN4eXFs7JsM4ZA,7514
|
221
188
|
orangecontrib/tomwer/widgets/stitching/StitcherOW.py,sha256=j4UQPKYlGVcp2b5C9qntenKUltc9z-nMopjdE1SZMpw,2351
|
222
189
|
orangecontrib/tomwer/widgets/stitching/ZStitchingConfigOW.py,sha256=JEk7ZnSYfFtg1ETbpdIhDPFOcOjfegJdvjc3cIZZISM,3252
|
223
190
|
orangecontrib/tomwer/widgets/stitching/__init__.py,sha256=TaJoeu_wSmquWmI50AzI0Vo5b3SbhxupWHtltIA_8t0,262
|
224
|
-
orangecontrib/tomwer/widgets/stitching/test/test_zstitching.py,sha256=h-VuhoH_PLuRRIAI9JXQU7YseX4voG44-PMmaxvvuNg,11221
|
225
|
-
orangecontrib/tomwer/widgets/test/test_conditions.py,sha256=0yCV4-ekXVJpYr_pomRvpQQcpR72EBRZn8DktAwVEK0,4189
|
226
|
-
orangecontrib/tomwer/widgets/test/test_darkref.py,sha256=mbjdMtgocQJX5SLDUypvIPmDZW6IIyGRbN91sqkPubY,9505
|
227
|
-
orangecontrib/tomwer/widgets/test/test_foldertransfert.py,sha256=21_Rmi6UMqEHN2FSCd-BMD0bPZLK2u5MhxBa3CA4NZo,4693
|
228
191
|
orangecontrib/tomwer/widgets/visualization/DataViewerOW.py,sha256=YBg0R5sutIN0ur-OsF1zJb-byoDVe3U_kNojRujYm2E,5382
|
229
192
|
orangecontrib/tomwer/widgets/visualization/DiffViewerOW.py,sha256=zxFyzjW_oyaROdlk8b_rBWhuGm6U1ihPHGUF3Oo1XPo,2855
|
230
193
|
orangecontrib/tomwer/widgets/visualization/LivesliceOW.py,sha256=9U_iG80L1lI5tYpzan9BlIr9sN4H8SKEQqULicPjEQk,3145
|
@@ -254,19 +217,10 @@ orangecontrib/tomwer/widgets/visualization/icons/slicesstack.svg,sha256=SukBd6YH
|
|
254
217
|
orangecontrib/tomwer/widgets/visualization/icons/tomwer.png,sha256=M9IWm_TDKlSA6PZ-FPblo2k6PH-kkT2d0ASRvZ-pM_8,8992
|
255
218
|
orangecontrib/tomwer/widgets/visualization/icons/volumeviewer.png,sha256=8XwGE5maqQdjmU7_EWcqiuOG7xsf7ycNUJ_40UvpYeA,4372
|
256
219
|
orangecontrib/tomwer/widgets/visualization/icons/volumeviewer.svg,sha256=2uT9_px6VBxkC6RxD0QrQVzcBusDlNVKwekh551EF0A,8454
|
257
|
-
orangecontrib/tomwer/widgets/visualization/test/test_dataviewerow.py,sha256=RIVO0ZAhxY8BAOyKOx6JgHGZn3QQp8HVr2IfNQtWmig,2853
|
258
|
-
orangecontrib/tomwer/widgets/visualization/test/test_diffviewerow.py,sha256=H0QEkQxMFJUC7z5QhBloQeU_dJY_j1iKFeh5eVnKHcc,2308
|
259
|
-
orangecontrib/tomwer/widgets/visualization/test/test_live_sliceow.py,sha256=SgMuliMhiRd10drg5L0wvuxab05_mzmutngKYZ3tBv4,2248
|
260
|
-
orangecontrib/tomwer/widgets/visualization/test/test_nxtomo_metadata_viewer.py,sha256=8R7pXWTOYLII9Pk9PIV1yD17HxS3fuTWM2SxdJnv3zI,862
|
261
|
-
orangecontrib/tomwer/widgets/visualization/test/test_radio_stackow.py,sha256=hYOP2BtLueIlL95Da381o27uJq8tMClxuhHvdVsUx6Y,2090
|
262
|
-
orangecontrib/tomwer/widgets/visualization/test/test_sample_movedow.py,sha256=l0RUfAN0X1MLwJnMVuHKnCHzasa_KaYer604-jWZNH4,2546
|
263
|
-
orangecontrib/tomwer/widgets/visualization/test/test_sinogram_viewerow.py,sha256=is7MK5EQv29eOJoH845OXaGTxoSQom9dBTX8N_KHoQs,2108
|
264
|
-
orangecontrib/tomwer/widgets/visualization/test/test_slice_stackow.py,sha256=-4-7_DX0Q1jxv-UOstHoh1e8NZuHbdS4HpYuBHnYqps,2126
|
265
|
-
orangecontrib/tomwer/widgets/visualization/test/test_volume_viewerow.py,sha256=uEdBP6eRDF9sfq6UyoOvAQRdheoCZKBDp1mIbv7reZg,2132
|
266
220
|
tomwer/__init__.py,sha256=82Jp1abyG4UWdGuT4nNU7LxaUV6xxkOte5pIz3w69Do,1745
|
267
221
|
tomwer/__main__.py,sha256=jsDfWA2yl5am0dHQVkYwlKLxxqKNont6VDF-LusuawE,8575
|
268
222
|
tomwer/utils.py,sha256=EgVwJ5CQVjoBvcKNwyVoXv_P4ciI11oxb8fNyy82Lck,8465
|
269
|
-
tomwer/version.py,sha256=
|
223
|
+
tomwer/version.py,sha256=vS6XATV3d0rAAs4Uky7DLHRQoHjiaPVQC7dmaEz9nJA,4386
|
270
224
|
tomwer/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
271
225
|
tomwer/app/axis.py,sha256=Ax0wlTp9u0Ll_3ax23QP5Ck16_M9Kop7wx0hAbXrXyM,6004
|
272
226
|
tomwer/app/canvas.py,sha256=RbQqgE7DuNjv4nGG6BNfnSevQO5_lCl7N71hGcLoxwE,1561
|
@@ -307,7 +261,6 @@ tomwer/core/cluster/cluster.py,sha256=6xFJ4jpz7qtyrCvoQZ50h-WPu3O_1mYY-5TBQVGWtw
|
|
307
261
|
tomwer/core/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
308
262
|
tomwer/core/log/logger.py,sha256=KDHLUbaVx3hOuIk8WmzS61x1IkYgAZJ97nVYUI5-PTU,4099
|
309
263
|
tomwer/core/log/processlog.py,sha256=0XmoKVUpHjxvaOFEi56eqF1edHPzCfsCmjdMMZP2sxs,3697
|
310
|
-
tomwer/core/log/test/test_processlog.py,sha256=BzN8S0A-CjCVCXSVdWMKbEBufsmTwo4A0HDAAvWHGf0,1738
|
311
264
|
tomwer/core/process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
312
265
|
tomwer/core/process/output.py,sha256=UmOczI3GYNXm79B_1B3DInrXZqerhMF98Hru4KcgP1o,1562
|
313
266
|
tomwer/core/process/task.py,sha256=3_AuZGwUoLLUw5B8ZwYt0cDFeZ_g1VtTBta573tiODQ,15703
|
@@ -348,16 +301,12 @@ tomwer/core/process/control/test/test_volume_link.py,sha256=GxvgFLLSQqi7O1nz-8xb
|
|
348
301
|
tomwer/core/process/edit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349
302
|
tomwer/core/process/edit/darkflatpatch.py,sha256=Ag2RTdqo5MmXFeCUfhWelHV_MwJ4rK31-Jj4ACUwMeg,5239
|
350
303
|
tomwer/core/process/edit/imagekeyeditor.py,sha256=P2a-c512HLPlE-64Qd_obBgTim2fS8TSlBzpq-6E-k0,9398
|
351
|
-
tomwer/core/process/edit/test/test_darkflatpatch.py,sha256=OBLtcAxn3tGcyqEO7NJWy250747rRtZFRFeihvP6O-4,10710
|
352
|
-
tomwer/core/process/edit/test/test_imagekey_editor.py,sha256=PY_PB4KIAdNWwR0GwXRUCZxAjm6ztUYB-M0m7KyZ1i8,3668
|
353
304
|
tomwer/core/process/icat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
354
305
|
tomwer/core/process/icat/createscreenshots.py,sha256=JeAhnaeqJSa51ssrzXQUJFh37cLBA-CAVr8PFfc3saU,3677
|
355
306
|
tomwer/core/process/icat/gallery.py,sha256=c_6-KU213bFOK3jKXOVkroGfL0ppzY9o7nFdZHN8ws0,14813
|
356
307
|
tomwer/core/process/icat/icatbase.py,sha256=pNokee8Zbhkyq9tV8Ql6UGZ8CyoFaP7lUhq4qVoBKis,1066
|
357
308
|
tomwer/core/process/icat/publish.py,sha256=kmPYdGR9TMoXR43frxZdNnYY-O5iJYE9n526ZCysXWw,7828
|
358
309
|
tomwer/core/process/icat/screenshots.py,sha256=OaXq_WFAdC_fuAj8qpHXUnkvexMyZnqcabJqNoive6k,816
|
359
|
-
tomwer/core/process/icat/test/test_create_screenshots.py,sha256=Y7_uDGWlkRRLp7hTi75VxIyvJOupo8P4IPdj-55Z0dk,2927
|
360
|
-
tomwer/core/process/icat/test/test_gallery.py,sha256=RAWElYrfpTlFt49mJ1VyvF78AxHjJ8xOcHMDpbwSX5A,5916
|
361
310
|
tomwer/core/process/reconstruction/__init__.py,sha256=EgySFx4vfoPre5NwYZbKoWSMx-3lBYXWlAI-b-ttRu4,1504
|
362
311
|
tomwer/core/process/reconstruction/output.py,sha256=JxtQ-ky2rPjTet2kYtIlzqnfj9E7BhZh3NaWOosobE0,3967
|
363
312
|
tomwer/core/process/reconstruction/paramsbase.py,sha256=YhCqZwZCM632WdLlLHJVEwBHnXwbBf7CoLA3jESxOFE,7725
|
@@ -382,10 +331,7 @@ tomwer/core/process/reconstruction/nabu/nabuvolume.py,sha256=z7nyfXhMrp0Q3hAN3NY
|
|
382
331
|
tomwer/core/process/reconstruction/nabu/plane.py,sha256=Cgzth77M0pFgLDULmvmPj4bqFm5MvIMJ7Ien8mRqLsE,134
|
383
332
|
tomwer/core/process/reconstruction/nabu/settings.py,sha256=JpHKf0smiXeWC8i9Mj7h3g67teJ3Gqycd-Uwg2yzGOQ,2279
|
384
333
|
tomwer/core/process/reconstruction/nabu/target.py,sha256=_Z4gViprjR3Vm4KASqsASStLA9GM1wTyoi3Pg0PUSeg,1481
|
385
|
-
tomwer/core/process/reconstruction/nabu/utils.py,sha256=
|
386
|
-
tomwer/core/process/reconstruction/nabu/test/test_castvolume.py,sha256=JIFaWVnY8-rP8d6KLlhxV4uT9wlkyl-JA3WKAqWmsUI,5177
|
387
|
-
tomwer/core/process/reconstruction/nabu/test/test_nabu_utils.py,sha256=1xI_lXjUXjN9xRNIOHPc0zx8tR4j5f2dZmDFRTrA1c0,10167
|
388
|
-
tomwer/core/process/reconstruction/nabu/test/test_nabunormalization.py,sha256=Pq0KJZgR1QTJwzTRDHT5cz-xgX2vAaMkIPqlDfm3Qss,7279
|
334
|
+
tomwer/core/process/reconstruction/nabu/utils.py,sha256=SOU3DzYpzm4YwxVU1FwkHj0aJGfN7utWKtuFhe3HezA,18100
|
389
335
|
tomwer/core/process/reconstruction/normalization/__init__.py,sha256=TDtATpMVFkEOT93wLXLpW0A_TOeiQDiM7AWAqX4FIB0,119
|
390
336
|
tomwer/core/process/reconstruction/normalization/normalization.py,sha256=G-eAZIct47RvzvHNMbKsG4Dt58vTSKhvH-NnIMzxzOs,13210
|
391
337
|
tomwer/core/process/reconstruction/normalization/params.py,sha256=porWC6G5lQWF-4JB03B56uGmuMxjx3u0ZMums-Bh2p8,4790
|
@@ -410,11 +356,9 @@ tomwer/core/process/reconstruction/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5
|
|
410
356
|
tomwer/core/process/reconstruction/utils/cor.py,sha256=HeaZRYXPtfpJJ03HSw6Orb2KIcQtVpWZmSBKvkOojBs,368
|
411
357
|
tomwer/core/process/script/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
412
358
|
tomwer/core/process/script/python.py,sha256=25Rv5IordH6AVJFTMBrBGAIRFDkJHf0CVtkqPcnqMJs,4028
|
413
|
-
tomwer/core/process/script/test/test_script.py,sha256=8QIE96EjeoxSMiN1kSExKcCPS16p5rF-GXvG0l9djK0,2348
|
414
359
|
tomwer/core/process/stitching/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
415
360
|
tomwer/core/process/stitching/metadataholder.py,sha256=8HbHrHVADc8XhLIDL3BSmT2Kh-iVGpZrvEclwQfKg7U,6527
|
416
361
|
tomwer/core/process/stitching/nabustitcher.py,sha256=Pho6tm36qlzy2SEaKEf2EcglMBxrThD8PEhrp0_g1ok,6781
|
417
|
-
tomwer/core/process/stitching/test/test_metadataholder.py,sha256=E9jgvtwdbcF9tgWS3uqHppHf8ff0aCvjROrLAFVZSpQ,631
|
418
362
|
tomwer/core/process/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
419
363
|
tomwer/core/process/test/test_axis.py,sha256=So1e1WnVuhvFCv5wT5dftZ9JFsVsc8uR0Qe7QAQWlQE,11810
|
420
364
|
tomwer/core/process/test/test_conditions.py,sha256=7yKYB_Bg6dQqblA3lGD4eESegDX6MU2AzmUahWTzmdI,3464
|
@@ -435,14 +379,6 @@ tomwer/core/process/visualization/samplemoved.py,sha256=NHaUrdzpZm3MiRksbcJYwmA8
|
|
435
379
|
tomwer/core/process/visualization/sinogramviewer.py,sha256=VPkea5-DiVv_fCvg_UqBoCACtdnHEvA7yXLNPzp88Xo,1569
|
436
380
|
tomwer/core/process/visualization/slicestack.py,sha256=0388rNQBDu_ihJ_vGT7EtwiGPlHf-yJDVBK8VCLXsEo,1625
|
437
381
|
tomwer/core/process/visualization/volumeviewer.py,sha256=h2_LOfx0PNJaBK0cyUDniuV1Gf7FwLsHwU3jFaAbOow,1579
|
438
|
-
tomwer/core/process/visualization/test/test_data_viewer.py,sha256=64xKeIB8SpRMXNctCagUkgW8N5Y8SsG_B4atXO6TP1Q,1596
|
439
|
-
tomwer/core/process/visualization/test/test_diff_viewer.py,sha256=vzx3ZwIQvS8V72ec50m3KeILJ_rWf3KqKNAmeDWnrRY,1596
|
440
|
-
tomwer/core/process/visualization/test/test_image_stack_viewer.py,sha256=6EZ9X9kS_ig2VkuBOh72AZRnxoLO0h6SIsSe07WLg74,1630
|
441
|
-
tomwer/core/process/visualization/test/test_radio_stack.py,sha256=FmqTqSbJkRB2pVdHVGi3j5BvyB7VZmQ44s8eUdB4OBE,1596
|
442
|
-
tomwer/core/process/visualization/test/test_sample_moved.py,sha256=JQ9VqoYJW5LApUQfg6pgB-yb43_bQo-LECVtPJzEP0c,1624
|
443
|
-
tomwer/core/process/visualization/test/test_sinogram_viewer.py,sha256=W7TsXSmsaKOTzFFycMB47DB_WLD0GQ4wSNg2ZlgfG70,1612
|
444
|
-
tomwer/core/process/visualization/test/test_slice_stack.py,sha256=YRr1GmQVtkOmS1hUnRTONmUV_SHTU-xb9T5LO7NGGKc,1596
|
445
|
-
tomwer/core/process/visualization/test/test_volume_viewer.py,sha256=34fdMWvPqvAIkK-zA63lod8xGWAI1XU7PdVRiXtcMDg,1604
|
446
382
|
tomwer/core/scan/__init__.py,sha256=V1TPi41mS3b6jskdiNqgnKYvRHZg1x1KmEClQ3hUmu8,1392
|
447
383
|
tomwer/core/scan/blissscan.py,sha256=yfJaoYGeEKehZwKj1sfdzXU7rohxm5mbOdaORXIRI7o,8244
|
448
384
|
tomwer/core/scan/edfscan.py,sha256=_J6NyqXkMcrD6NirLT-TmI-Le2UpdV8uy8XOmrdu9AM,22892
|
@@ -482,10 +418,6 @@ tomwer/core/utils/spec.py,sha256=QwtoyYkhi89t5IhrR-gbQ-Po5JByyD2HxOBMgdXwFUg,756
|
|
482
418
|
tomwer/core/utils/threads.py,sha256=_JO6WEbdJo74ZhrFpojM2pVgDmenejump7a568fFu2E,3189
|
483
419
|
tomwer/core/utils/time.py,sha256=7WZUZsLu2nFIdpLBYysuuNIILGzo_UliSbkJ1R67BV0,1845
|
484
420
|
tomwer/core/utils/volumeutils.py,sha256=KE8-zW2brpHov8Ak__nrbUxtuTKi2Hrop3SRfD4bj14,490
|
485
|
-
tomwer/core/utils/test/test_image.py,sha256=cvOdQ_RO2ACU9-FyuovxEpRBolLGpuBa6wThw6i6EBw,899
|
486
|
-
tomwer/core/utils/test/test_nxtomo.py,sha256=q0KGRWj98wLAsoIB2lb2R8O_lv4xhUWsePYU7sfzxGg,2543
|
487
|
-
tomwer/core/utils/test/test_scan_utils.py,sha256=QpAQR4B6rqcsiJF_jlyPK-_XQHld8UVuHRCREFVJdrQ,1452
|
488
|
-
tomwer/core/utils/test/test_time.py,sha256=kHoqMO7p58YXZDYwSRw0hg1NlTmXBNSdAQLxGbUVYjs,104
|
489
421
|
tomwer/core/volume/__init__.py,sha256=D8bAkLObITdTShXEk6pFt3I56zzccxDQs5KJmTyiXY4,253
|
490
422
|
tomwer/core/volume/edfvolume.py,sha256=YPYxGXWm9EXsxaL732PnHaskLKKbODkmyRi-hYZPcTw,3713
|
491
423
|
tomwer/core/volume/hdf5volume.py,sha256=ZeyKgUTA8YE9vCQo82Aq9x45Rk40Rtx34JZ_JigMhv8,4401
|
@@ -494,7 +426,6 @@ tomwer/core/volume/rawvolume.py,sha256=Eaj9Fk1BeQS4QGbfjmPExUO2oKhDgvDcaoVBqdxOU
|
|
494
426
|
tomwer/core/volume/tiffvolume.py,sha256=n1bi6VU3Jsf40zMOCH-W_vdg_WhyymWEpXPjNQVYKxg,6040
|
495
427
|
tomwer/core/volume/volumebase.py,sha256=TW-zA3GMYe-keZuv-HXEfyYAQKgG1lGlno9_LHYCL3E,1539
|
496
428
|
tomwer/core/volume/volumefactory.py,sha256=sf9Mok3EG7a43OTrLAKnRw37TG_22FXY9rruX2KyiEw,7979
|
497
|
-
tomwer/core/volume/test/test_volumes.py,sha256=3nizQCB__xTWCQeZ9MhsG9R5V3e5URqQIcBWVKx9FkQ,781
|
498
429
|
tomwer/gui/__init__.py,sha256=GuoK-CFwHqHBiLvvSUOAk6_SaXu7-k3SIYCfPTZFHFk,1474
|
499
430
|
tomwer/gui/icons.py,sha256=r_UURvOe36k83iw5gQiEKt6fgdvPNbZgrUoeji_s6eE,12917
|
500
431
|
tomwer/gui/illustrations.py,sha256=kKA_Jnj67QwwjHXW1d5x1qOgV2QWlktvEJYIDFTSJ-0,5368
|
@@ -537,14 +468,12 @@ tomwer/gui/control/volumeselectorwidget.py,sha256=mpbofAawBpzdc46IEkucTuiFJRDP18
|
|
537
468
|
tomwer/gui/control/datawatcher/__init__.py,sha256=4MnBP53SmxMTRpeM8NApgSsbh6HRKshwLdhpJt078jQ,1444
|
538
469
|
tomwer/gui/control/datawatcher/configuration.py,sha256=E9RTx2hgF7JJKg8zOq6vFwWZYcKAWyvZkLR5g5TiBsw,10193
|
539
470
|
tomwer/gui/control/datawatcher/controlwidget.py,sha256=qaT_QJCiMnmp21LnzGomnkBGX6Rvuxf3V_tktyEcSLI,3857
|
540
|
-
tomwer/gui/control/datawatcher/datawatcher.py,sha256=
|
471
|
+
tomwer/gui/control/datawatcher/datawatcher.py,sha256=vfU04qzSioOAEo-Htb_R3peZuPGJAP1RytxlKH0evvs,21671
|
541
472
|
tomwer/gui/control/datawatcher/datawatcherobserver.py,sha256=wm4uuFeBxyUrb_1Wfw4WASWhlKl0DKud5eihIh4Brt0,10543
|
542
473
|
tomwer/gui/control/serie/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
543
474
|
tomwer/gui/control/serie/nxtomoconcatenate.py,sha256=YyJssAnQauRhQ1jBg63uj1pXcdo2IsktebaQvpgx8YA,3131
|
544
475
|
tomwer/gui/control/serie/seriecreator.py,sha256=Rcz9J5_N3Kj05W4bHMvcL5CPE-bWfFCqfdYtsF-u7p4,35110
|
545
476
|
tomwer/gui/control/serie/seriewaiter.py,sha256=N8gDWBDDIh17CFlxc1NljmYrVbLMGqZ8RCJUuEdnZt8,1374
|
546
|
-
tomwer/gui/control/serie/test/test_creator.py,sha256=UA_sEHjdpaeB30A0cCAa_VtcbZ0y8C06kRmLriBbZAc,15551
|
547
|
-
tomwer/gui/control/serie/test/test_nxtomo_concatenate.py,sha256=jkIN5tulCvtxgxuE2a54jiN4H_NT8sPOcjeUiJe8HiE,668
|
548
477
|
tomwer/gui/control/test/__init__.py,sha256=OLK9ip_LryBfM_L40MReqjvJS3wdbWP_CpnBeD1NQTA,1368
|
549
478
|
tomwer/gui/control/test/test_datadiscovery.py,sha256=7xI28TRiWdS4R5YE2rskOqZYkWgID80BYEo14TnX8Dk,775
|
550
479
|
tomwer/gui/control/test/test_datalist.py,sha256=04UdTvOTHZt_YYDvwN0z8k6UpvDAddGHCUrl9-CicoA,3508
|
@@ -575,8 +504,6 @@ tomwer/gui/icat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
575
504
|
tomwer/gui/icat/createscreenshots.py,sha256=IeKBF-urVsEsjDH2gXpt3oG5Sx_OstC1mNJB7zFeWkk,3123
|
576
505
|
tomwer/gui/icat/gallery.py,sha256=puBAkqlwgV1Orki_g2IVXjssCn_PCPjNGJtC0RIPpxI,8700
|
577
506
|
tomwer/gui/icat/publish.py,sha256=E1DwyABMZeIHDcy88YFtLpg2GpvN_AFHn4aAJbcK13c,6220
|
578
|
-
tomwer/gui/icat/test/test_create_screenshots_gui.py,sha256=vqbW6Jj8HntsG5nwa0EyOfV3BFdOGaUUNEoPV043A7o,708
|
579
|
-
tomwer/gui/icat/test/test_gallery_gui.py,sha256=91lEJ3Hqdx3NHf3x-XNieohmCPSPWHQdAk7m8qvQ1h0,1068
|
580
507
|
tomwer/gui/reconstruction/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
581
508
|
tomwer/gui/reconstruction/axis/CompareImages.py,sha256=mrlXPCgq71lzmA_XACqrjdzRTK1iYJQBMrJMaeKZAq8,12870
|
582
509
|
tomwer/gui/reconstruction/axis/__init__.py,sha256=fUKWiRiG2o4Y-9RN-41VZMMM8L9Srl6QCn942VL5szY,94
|
@@ -601,13 +528,8 @@ tomwer/gui/reconstruction/nabu/nabuconfig/output.py,sha256=RWd1yO4tbCoqktYozVMaR
|
|
601
528
|
tomwer/gui/reconstruction/nabu/nabuconfig/phase.py,sha256=5bGZI4fW970hCd5bTHWBYPNHZ7MU5--nasF_uD3qi0Y,15368
|
602
529
|
tomwer/gui/reconstruction/nabu/nabuconfig/preprocessing.py,sha256=-MMPCPT-xdwaIvgU0uW6H-MH_Bwr9ef2Oq8rfY-MQKA,30942
|
603
530
|
tomwer/gui/reconstruction/nabu/nabuconfig/reconstruction.py,sha256=wFjJiHGe8XZFuTeF0EefgIYfPWZJEj6bsBLC6MPjNNs,38981
|
604
|
-
tomwer/gui/reconstruction/nabu/test/test_check.py,sha256=0ShclP_S7Mk0Ch9ET7lKy-ux5_hsW0GH4UF0WOHm8hA,3641
|
605
|
-
tomwer/gui/reconstruction/nabu/test/test_ctf.py,sha256=uiJznrY6ScH51xaaSUFfplg9XJcFacczIV8_7k9tuRg,1554
|
606
|
-
tomwer/gui/reconstruction/nabu/test/test_helical.py,sha256=6vB_xXJOuNPHbXKLw8JWUtl-BB-Ntm8xkNEMV08ocEM,754
|
607
|
-
tomwer/gui/reconstruction/nabu/test/test_nabu_preprocessing.py,sha256=OcTJ6-GQrIMETlezvJ7HlWE7_eWMKdfbfueohl_lZ-c,2258
|
608
531
|
tomwer/gui/reconstruction/normalization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
609
532
|
tomwer/gui/reconstruction/normalization/intensity.py,sha256=GWFPxsRxDxFnUwCh4zEDKccjt5Mmnl9WWZYa5wte0Ys,33856
|
610
|
-
tomwer/gui/reconstruction/normalization/test/test_intensity.py,sha256=WkhodBzsJ4K58q0FLftXMc3dEXn37fxhMO-gem6_JU4,4752
|
611
533
|
tomwer/gui/reconstruction/saaxis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
612
534
|
tomwer/gui/reconstruction/saaxis/corrangeselector.py,sha256=dxA10buj6yX3zFIHbAwsLqYdlXYsWa0NgBZyrKoTu2Y,32888
|
613
535
|
tomwer/gui/reconstruction/saaxis/dimensionwidget.py,sha256=NtLK3yec9yqW5IITWik-g_KYbk0Qkx9ctLjjb6gsFEc,9750
|
@@ -640,18 +562,8 @@ tomwer/gui/stitching/config/output.py,sha256=OAgP2TB-mcm53CejqY5r_6n1sLoamk8zDui
|
|
640
562
|
tomwer/gui/stitching/config/positionoveraxis.py,sha256=Z7UO_lQn52zKN46c7sUD9wzCyC-WcMtE3RyJeW0uqPA,6834
|
641
563
|
tomwer/gui/stitching/config/stitchingstrategies.py,sha256=9cZvTjUeId9scbCSlCs8tg9ZNY9fQPdRty86D22SZGg,4257
|
642
564
|
tomwer/gui/stitching/config/tomoobjdetails.py,sha256=IUIN_mhpCpod_ye3QWqqQvCxaRMIuR0FzloAFgXuDEE,14680
|
643
|
-
tomwer/gui/stitching/config/tests/test_axisparams.py,sha256=btumHdTFr2xmiFZ-GbWAuRy6kjwYUilMrluhiE0repM,738
|
644
|
-
tomwer/gui/stitching/tests/test_axis_ordered_list.py,sha256=3L36K4Ohn3SNJ3EJKFVkm1gR0G52eX0SJWGcny5ua0M,693
|
645
|
-
tomwer/gui/stitching/tests/test_normalization.py,sha256=m4anggtaZ32JSfZ5yHgis5CD0HYpjLvS6bpDitQv9ec,643
|
646
|
-
tomwer/gui/stitching/tests/test_preview.py,sha256=t5sVGXoq6ysghnxzviJOQD__7bT-UP_iRSFhTLb70UI,2983
|
647
|
-
tomwer/gui/stitching/tests/test_stitching_raw.py,sha256=Yh69Av36GMJdpxstaMGprjRogugh7jicSTgC2pSaSBs,3699
|
648
|
-
tomwer/gui/stitching/tests/test_z_stitching.py,sha256=HCeqpWlQ4d0uH5LMAQn3uRYMytsbk0dx_PwD7pwO-Tk,2303
|
649
|
-
tomwer/gui/stitching/tests/utils.py,sha256=lVtzonI60piGBgu5ungoxMcPhAzL1kQIcyc8DeLBw7Y,2677
|
650
565
|
tomwer/gui/stitching/z_stitching/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
651
566
|
tomwer/gui/stitching/z_stitching/fineestimation.py,sha256=pCogcIZr_qGqjNjgzTq-G1uL4Lpd7wOSyFLYEVSh1aM,8931
|
652
|
-
tomwer/gui/stitching/z_stitching/tests/test_fine_estimation.py,sha256=vHR8e2jvq_mlV6621DDSMpVZ5khNhsfbTplCBgtGf_k,1207
|
653
|
-
tomwer/gui/stitching/z_stitching/tests/test_raw_estimation.py,sha256=K1vIqq9umG2VO4N6TDRpkLUGFl4S6R4Odq1N7CaEzoQ,8338
|
654
|
-
tomwer/gui/stitching/z_stitching/tests/test_stitching_window.py,sha256=dI-j9yqgfHHVlGo2GHNQ7KVbJyIgKJXzukvS0-ww35s,1433
|
655
567
|
tomwer/gui/test/__init__.py,sha256=ni87cKf-CzKIuVQTqj9VSUG-AcDN7ochWSfH-TC5-20,1368
|
656
568
|
tomwer/gui/test/test_axis_gui.py,sha256=UGA38dq9dED2CDbwUXr0AmDcIvwhZLr1z38zfbGHZNM,1447
|
657
569
|
tomwer/gui/test/test_qfolder_dialog.py,sha256=m81GSra0Vev88fea5UGoU1HWOoFYmgSQxIw-wZpsexk,347
|
@@ -674,10 +586,6 @@ tomwer/gui/utils/vignettes.py,sha256=ZsgOcIHLTcoT45eaPeUfH5nSnhbHae2x14uWP_m-UW0
|
|
674
586
|
tomwer/gui/utils/waiterthread.py,sha256=XEp6CRQt4aHCuyS2C6ZeQIMWESGilbuhaJjm9CzQQMs,1844
|
675
587
|
tomwer/gui/utils/lineselector/__init__.py,sha256=GZ847ef5X2wk_sAHxg6h24TarPYmb4NZjQI3jjkc7jE,75
|
676
588
|
tomwer/gui/utils/lineselector/lineselector.py,sha256=R-RhrTQj1wTPylD0D9MKNzM6voJx-O-z4nhIVwMqj5M,8179
|
677
|
-
tomwer/gui/utils/test/test_completer.py,sha256=XkouGMCfTElOLQM7QkL9NTsliNp7wNnI7qad-obQkdY,2458
|
678
|
-
tomwer/gui/utils/test/test_line_selector.py,sha256=42EbSc81A6uYwTixuZr0R4pexAX3fMU0LdKqgM0SIM8,618
|
679
|
-
tomwer/gui/utils/test/test_splashscreen.py,sha256=sJZzsvJ1-VpNuQ2wifRz4a6PbU7rZQVXZzMVMGYpZ0A,253
|
680
|
-
tomwer/gui/utils/test/test_vignettes.py,sha256=xgTmE7QB5db12Wqe32v5zA7hx0PtE5bqQbHtStVzerk,2265
|
681
589
|
tomwer/gui/visualization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
682
590
|
tomwer/gui/visualization/dataviewer.py,sha256=X632o237-0cW4gWTIXajA_vkOW9STchEbEY8VEZdM-A,27024
|
683
591
|
tomwer/gui/visualization/fullscreenplot.py,sha256=ptLrhF8DUsYNMj-KDioe9Y-KxnOzqepGlS8K2A2hjck,3639
|
@@ -705,8 +613,6 @@ tomwer/io/utils/h5pyutils.py,sha256=nSKVGHhFh2dJbEj6Ie0wPgU60HXxTctMJoTyRIpQPQs,
|
|
705
613
|
tomwer/io/utils/raw_and_processed_data.py,sha256=XMAyMTbxB7orxHsYOPuWQd5QiGQB_xesx8bMf2KyW0g,3208
|
706
614
|
tomwer/io/utils/tomoobj.py,sha256=PGcTc2nMDMzKGvL7u5LgIMc9MYhJwLN9yecA1gttmzE,2828
|
707
615
|
tomwer/io/utils/utils.py,sha256=GnBaxTacb-vMJymiVk8onRRjJamGx0xRzbWl5yFl_fQ,10678
|
708
|
-
tomwer/io/utils/test/test_raw_and_processed_data.py,sha256=2TgR3GZZ1PJ2wlyCqRU4qxh6XrQF-thvSqLZFMSV5es,552
|
709
|
-
tomwer/io/utils/test/test_utils.py,sha256=ogE6s-QuqbRHdgunuKGQoDKpqc4sQkN1CLSxgbxH4ws,3244
|
710
616
|
tomwer/resources/__init__.py,sha256=dXxWZFKRE4ncPKzNq9BBLtjwRYmRvzzErgKhvzH_W6g,5904
|
711
617
|
tomwer/resources/gui/icons/Imagej_icon.png,sha256=JFDzPw20pzRrf6wLBnScXEcmTVt6orXPzwPwniKeVss,1618960
|
712
618
|
tomwer/resources/gui/icons/a.png,sha256=YrYFndLl3SUcsYNJDloU9YeJLBUkiMmgvDjDNJCMipI,3858
|
@@ -868,15 +774,12 @@ tomwer/tests/datasets.py,sha256=Gz-gUkrKmE6WXjyXQUKKdSn-czEArrGZxgiXDbM76IA,335
|
|
868
774
|
tomwer/tests/test_scripts.py,sha256=LAVRe9PLj-8I-9upzd4QTXhktIpuaCFmVyw_e_Lhwrk,5117
|
869
775
|
tomwer/tests/test_utils.py,sha256=D0rNDSK6csEOYBY_7gD-4A3jp8rYAm8L1_Xg34A9I2s,305
|
870
776
|
tomwer/tests/utils.py,sha256=RAXx5A99WD4Vyuv_wjHBdr-Xu7UiThHRKw2eiB5GX10,107
|
871
|
-
tomwer/tests/test_ewoks/test_conversion.py,sha256=a8cEWbErXiFCAkaapi0jeEoRKYxcFQCoa-Jr_u77_OM,3656
|
872
|
-
tomwer/tests/test_ewoks/test_single_node_execution.py,sha256=eSqevCAj9RBtmechj-QxYSYUKWb6JG9lR8BMKJV_urs,4143
|
873
|
-
tomwer/tests/test_ewoks/test_workflows.py,sha256=dVW9dv_FtEYm2KoWYZOfecLVqQUuXcFdQuN0srpN-2E,6339
|
874
777
|
tomwer/third_part/WaitingOverlay.py,sha256=GnqiytcJDp_24Cmz_2nZAP5HfpL3Yh7AzR2ATIusGsg,3906
|
875
778
|
tomwer/third_part/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
876
|
-
tomwer-1.3.
|
877
|
-
tomwer-1.3.
|
878
|
-
tomwer-1.3.
|
879
|
-
tomwer-1.3.
|
880
|
-
tomwer-1.3.
|
881
|
-
tomwer-1.3.
|
882
|
-
tomwer-1.3.
|
779
|
+
tomwer-1.3.8.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
|
780
|
+
tomwer-1.3.8.dist-info/METADATA,sha256=jIXT7YZdgdVywrCwSaUS1rdSSwb-KCFx60Luxk2c8zw,11459
|
781
|
+
tomwer-1.3.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
782
|
+
tomwer-1.3.8.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
|
783
|
+
tomwer-1.3.8.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
|
784
|
+
tomwer-1.3.8.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
|
785
|
+
tomwer-1.3.8.dist-info/RECORD,,
|
@@ -1,246 +0,0 @@
|
|
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 silx.gui import qt
|
38
|
-
|
39
|
-
from tomwer.core.scan.edfscan import EDFTomoScan
|
40
|
-
from tomwer.tests.datasets import TomwerCIDatasets
|
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
|
-
}
|
65
|
-
sigAdvancementChanged = qt.Signal(int)
|
66
|
-
|
67
|
-
__definedDataset = ["test01", "test10"]
|
68
|
-
|
69
|
-
def __init__(self, targetdir, manipulationId, finalState=4):
|
70
|
-
assert type(manipulationId) is str
|
71
|
-
assert type(targetdir) is str
|
72
|
-
assert manipulationId in self.__definedDataset
|
73
|
-
super(Simulation, self).__init__()
|
74
|
-
|
75
|
-
self.targetdir = targetdir
|
76
|
-
self.outputFolder = os.path.sep.join((targetdir, manipulationId))
|
77
|
-
self.finalState = finalState
|
78
|
-
self.currentState = "not started"
|
79
|
-
self._createFinalXML = False
|
80
|
-
(
|
81
|
-
self.originalFolder,
|
82
|
-
self.nbSlices,
|
83
|
-
self.manipulationId,
|
84
|
-
) = self.__getOriginalDataSet(manipulationId)
|
85
|
-
self.stopFileCreationForRunningState = int(self.nbSlices / 2)
|
86
|
-
self.srcPattern = None
|
87
|
-
self.destPattern = None
|
88
|
-
|
89
|
-
def __getOriginalDataSet(self, dataSetID):
|
90
|
-
"""Return paths to the requested scan"""
|
91
|
-
assert dataSetID in self.__definedDataset
|
92
|
-
dataDir = TomwerCIDatasets.get_dataset(os.path.join("edf_datasets", dataSetID))
|
93
|
-
|
94
|
-
assert os.path.isdir(dataDir)
|
95
|
-
assert os.path.isfile(os.path.join(dataDir, dataSetID + ".info"))
|
96
|
-
slices = EDFTomoScan(dataDir).projections
|
97
|
-
nbSlices = len(slices)
|
98
|
-
manipulationID = dataSetID
|
99
|
-
|
100
|
-
return dataDir, nbSlices, manipulationID
|
101
|
-
|
102
|
-
def advanceTo(self, state):
|
103
|
-
"""Reset the new advancement targetted
|
104
|
-
|
105
|
-
:param str state: the new state to reach when run will be executed
|
106
|
-
"""
|
107
|
-
assert state in Simulation.advancement
|
108
|
-
assert type(state) is str
|
109
|
-
self.finalState = Simulation.advancement[state]
|
110
|
-
|
111
|
-
def setSrcDestPatterns(self, srcPattern, destPattern):
|
112
|
-
"""
|
113
|
-
If setted, will set the .info and .xml files into a different folder
|
114
|
-
"""
|
115
|
-
self.srcPattern = srcPattern
|
116
|
-
self.destPattern = destPattern
|
117
|
-
if srcPattern is not None or destPattern is not None:
|
118
|
-
assert os.path.isdir(srcPattern)
|
119
|
-
assert os.path.isdir(destPattern)
|
120
|
-
targettedFolder = self.outputFolder.replace(
|
121
|
-
self.srcPattern, self.destPattern, 1
|
122
|
-
)
|
123
|
-
if not os.path.isdir(targettedFolder):
|
124
|
-
os.makedirs(targettedFolder)
|
125
|
-
|
126
|
-
def __shouldExecStep(self, step):
|
127
|
-
"""Return True if the thread should exec this step to advance taking
|
128
|
-
into consideration is current state and his final state
|
129
|
-
"""
|
130
|
-
return self.finalState >= self.advancement[step] and (
|
131
|
-
Simulation.advancement[self.currentState] + 1 == self.advancement[step]
|
132
|
-
)
|
133
|
-
|
134
|
-
def run(self):
|
135
|
-
"""Main function, run the acquisition through all states until
|
136
|
-
finalState is reached
|
137
|
-
"""
|
138
|
-
if self.__shouldExecStep("starting-s0") is True:
|
139
|
-
logger.info("starting-s0")
|
140
|
-
self._startAcquisition()
|
141
|
-
self.currentState = "starting-s0"
|
142
|
-
self.signalCurrentState()
|
143
|
-
|
144
|
-
if self.__shouldExecStep("starting-s1") is True:
|
145
|
-
self.copyInitialFiles()
|
146
|
-
logger.info("starting-s1")
|
147
|
-
self.currentState = "starting-s1"
|
148
|
-
self.signalCurrentState()
|
149
|
-
|
150
|
-
if self.__shouldExecStep("acquisitionRunning") is True:
|
151
|
-
self._copyScans((0, self.stopFileCreationForRunningState))
|
152
|
-
logger.info("acquisitionRunning")
|
153
|
-
self.currentState = "acquisitionRunning"
|
154
|
-
self.signalCurrentState()
|
155
|
-
|
156
|
-
if self.__shouldExecStep("acquisitionDone") is True:
|
157
|
-
self._copyScans((self.stopFileCreationForRunningState, self.nbSlices))
|
158
|
-
if self._createFinalXML is True:
|
159
|
-
inputXMLFile = os.path.join(
|
160
|
-
self.originalFolder, self.manipulationId + ".xml"
|
161
|
-
)
|
162
|
-
assert os.path.isfile(inputXMLFile)
|
163
|
-
ouputXMLFile = os.path.join(
|
164
|
-
self.outputFolder, self.manipulationId + ".xml"
|
165
|
-
)
|
166
|
-
shutil.copyfile(inputXMLFile, ouputXMLFile)
|
167
|
-
|
168
|
-
logger.info("acquisitionDone")
|
169
|
-
self.currentState = "acquisitionDone"
|
170
|
-
self.signalCurrentState()
|
171
|
-
|
172
|
-
def signalCurrentState(self):
|
173
|
-
"""Signal the actual state of the simulation"""
|
174
|
-
self.sigAdvancementChanged.emit(self.currentState)
|
175
|
-
|
176
|
-
def _startAcquisition(self):
|
177
|
-
"""create needed data dir"""
|
178
|
-
for newFolder in (self.targetdir, self.outputFolder):
|
179
|
-
if not os.path.exists(self.outputFolder):
|
180
|
-
os.makedirs(self.outputFolder)
|
181
|
-
|
182
|
-
def _copyScans(self, _slicesRange):
|
183
|
-
"""copy the .edf file from the original directory to the outputFolder
|
184
|
-
|
185
|
-
:_slicesRange tuple: the _range of slices data we want to copy
|
186
|
-
"""
|
187
|
-
logger.info("copying files from %s to %s" % (_slicesRange[0], _slicesRange[1]))
|
188
|
-
for iSlice in list(range(_slicesRange[0], _slicesRange[1])):
|
189
|
-
filename = "".join((self.manipulationId, format(iSlice, "04d"), ".edf"))
|
190
|
-
srcFile = os.path.join(self.originalFolder, filename)
|
191
|
-
outputFile = os.path.join(self.outputFolder, filename)
|
192
|
-
assert os.path.isfile(srcFile)
|
193
|
-
assert os.path.isdir(self.outputFolder)
|
194
|
-
shutil.copyfile(srcFile, outputFile)
|
195
|
-
|
196
|
-
def copyInitialFiles(self):
|
197
|
-
"""copy the .info file"""
|
198
|
-
assert os.path.isdir(self.originalFolder)
|
199
|
-
logger.info(
|
200
|
-
"copying initial files (.info, .xml...) from %s to %s"
|
201
|
-
% (self.originalFolder, self.manipulationId)
|
202
|
-
)
|
203
|
-
for extension in (".info", ".db", ".cfg"):
|
204
|
-
filename = "".join((self.manipulationId, extension))
|
205
|
-
srcFile = os.path.join(self.originalFolder, filename)
|
206
|
-
|
207
|
-
targettedFolder = self.outputFolder
|
208
|
-
if self.srcPattern is not None or self.destPattern is not None:
|
209
|
-
targettedFolder = self.outputFolder.replace(
|
210
|
-
self.srcPattern, self.destPattern, 1
|
211
|
-
)
|
212
|
-
assert os.path.isfile(srcFile)
|
213
|
-
assert os.path.isdir(targettedFolder)
|
214
|
-
assert os.path.isdir(self.originalFolder)
|
215
|
-
shutil.copy2(srcFile, targettedFolder)
|
216
|
-
|
217
|
-
def createFinalXML(self, val):
|
218
|
-
"""If activated, once all the file will be copied, this will create
|
219
|
-
an .xml file into the output directory
|
220
|
-
"""
|
221
|
-
self._createFinalXML = val
|
222
|
-
|
223
|
-
def createParFile(self):
|
224
|
-
pass
|
225
|
-
|
226
|
-
def createReconstructedFile(self):
|
227
|
-
pass
|
228
|
-
|
229
|
-
def createOARJob(self):
|
230
|
-
pass
|
231
|
-
|
232
|
-
def createDark(self):
|
233
|
-
pass
|
234
|
-
|
235
|
-
def createJPG(self):
|
236
|
-
pass
|
237
|
-
|
238
|
-
def createVolfloat(self):
|
239
|
-
pass
|
240
|
-
|
241
|
-
def createVolraw(self):
|
242
|
-
pass
|
243
|
-
|
244
|
-
def __createFileTo(self, filePath):
|
245
|
-
assert type(filePath) is str
|
246
|
-
open(filePath, "a").close()
|