tomwer 1.3.4__py3-none-any.whl → 1.3.5__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/gui/visualization/volumeviewer.py +10 -4
- tomwer/version.py +1 -1
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/METADATA +1 -1
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/RECORD +10 -10
- /tomwer-1.3.4-py3.11-nspkg.pth → /tomwer-1.3.5-py3.11-nspkg.pth +0 -0
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/LICENSE +0 -0
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/WHEEL +0 -0
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/entry_points.txt +0 -0
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/namespace_packages.txt +0 -0
- {tomwer-1.3.4.dist-info → tomwer-1.3.5.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,6 @@ from tomoscan.esrf.volume.hdf5volume import HDF5Volume
|
|
15
15
|
from tomoscan.factory import Factory
|
16
16
|
from tomoscan.identifier import VolumeIdentifier
|
17
17
|
from tomoscan.volumebase import VolumeBase
|
18
|
-
from tomoscan.io import HDF5File, get_swmr_mode
|
19
18
|
|
20
19
|
from tomwer.core.scan.scanbase import TomwerScanBase
|
21
20
|
from tomwer.gui.visualization.reconstructionparameters import ReconstructionParameters
|
@@ -298,9 +297,16 @@ class VolumeViewer(qt.QMainWindow):
|
|
298
297
|
|
299
298
|
self._close_h5_file()
|
300
299
|
if isinstance(volume, HDF5Volume):
|
301
|
-
|
302
|
-
|
303
|
-
|
300
|
+
try:
|
301
|
+
self._h5_file = h5py.File(volume.data_url.file_path(), mode="r")
|
302
|
+
except OSError:
|
303
|
+
self._h5_file = h5py.File(
|
304
|
+
volume.data_url.file_path(),
|
305
|
+
mode="r",
|
306
|
+
libver="latest",
|
307
|
+
swmr=True,
|
308
|
+
)
|
309
|
+
|
304
310
|
if volume.data_url.data_path() in self._h5_file:
|
305
311
|
data = self._h5_file[volume.data_url.data_path()]
|
306
312
|
state = "loaded"
|
tomwer/version.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
tomwer-1.3.
|
1
|
+
tomwer-1.3.5-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
|
@@ -220,7 +220,7 @@ orangecontrib/tomwer/widgets/visualization/icons/volumeviewer.svg,sha256=2uT9_px
|
|
220
220
|
tomwer/__init__.py,sha256=82Jp1abyG4UWdGuT4nNU7LxaUV6xxkOte5pIz3w69Do,1745
|
221
221
|
tomwer/__main__.py,sha256=jsDfWA2yl5am0dHQVkYwlKLxxqKNont6VDF-LusuawE,8575
|
222
222
|
tomwer/utils.py,sha256=EgVwJ5CQVjoBvcKNwyVoXv_P4ciI11oxb8fNyy82Lck,8465
|
223
|
-
tomwer/version.py,sha256=
|
223
|
+
tomwer/version.py,sha256=7RnYG3T8V7-HCuyqmXQHZ9FNoUnZS9FQvPROmBSP_fc,4386
|
224
224
|
tomwer/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
225
225
|
tomwer/app/axis.py,sha256=Ax0wlTp9u0Ll_3ax23QP5Ck16_M9Kop7wx0hAbXrXyM,6004
|
226
226
|
tomwer/app/canvas.py,sha256=RbQqgE7DuNjv4nGG6BNfnSevQO5_lCl7N71hGcLoxwE,1561
|
@@ -595,7 +595,7 @@ tomwer/gui/visualization/scanoverview.py,sha256=xmq_nhbnGcedDreqIrZ8ZXXtRhC6KI4q
|
|
595
595
|
tomwer/gui/visualization/sinogramviewer.py,sha256=mBfB77ywfyj4vYkb7lYhEcn9-gZVjqzlTvMCngB9CyI,9707
|
596
596
|
tomwer/gui/visualization/tomoobjoverview.py,sha256=YzocBQXhgnzI8IsJg5junE7218WcJdvSNH4r6DQgo74,1991
|
597
597
|
tomwer/gui/visualization/volumeoverview.py,sha256=6Hv1TtsDlaGQPCJKW-IkGy_r5Buue-O95tl1KkpMD-0,2491
|
598
|
-
tomwer/gui/visualization/volumeviewer.py,sha256=
|
598
|
+
tomwer/gui/visualization/volumeviewer.py,sha256=LZq0sHlxpkPvBT5D4l7fbMj7jdwRBRylqswQy1bJD_c,16335
|
599
599
|
tomwer/gui/visualization/diffviewer/__init__.py,sha256=rZ7qOTfAChU3FouCdkZllXT9ZZqTdo1XhLZMfmOqUAE,39
|
600
600
|
tomwer/gui/visualization/diffviewer/diffviewer.py,sha256=Y8tDT1l-AkBSpTkBes31r_bhjbBeAlO__3OAc0Ob6Io,21812
|
601
601
|
tomwer/gui/visualization/diffviewer/shiftwidget.py,sha256=2hpGo6BvubcSbw2QOT823sL74AEWyU32UxnvVZ4bDok,20928
|
@@ -776,10 +776,10 @@ tomwer/tests/test_utils.py,sha256=D0rNDSK6csEOYBY_7gD-4A3jp8rYAm8L1_Xg34A9I2s,30
|
|
776
776
|
tomwer/tests/utils.py,sha256=RAXx5A99WD4Vyuv_wjHBdr-Xu7UiThHRKw2eiB5GX10,107
|
777
777
|
tomwer/third_part/WaitingOverlay.py,sha256=GnqiytcJDp_24Cmz_2nZAP5HfpL3Yh7AzR2ATIusGsg,3906
|
778
778
|
tomwer/third_part/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
779
|
-
tomwer-1.3.
|
780
|
-
tomwer-1.3.
|
781
|
-
tomwer-1.3.
|
782
|
-
tomwer-1.3.
|
783
|
-
tomwer-1.3.
|
784
|
-
tomwer-1.3.
|
785
|
-
tomwer-1.3.
|
779
|
+
tomwer-1.3.5.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
|
780
|
+
tomwer-1.3.5.dist-info/METADATA,sha256=CXAdzIqOr-504Mh_Dq4fDhzxC_DSK7-eT-fJ64Vmkew,11459
|
781
|
+
tomwer-1.3.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
782
|
+
tomwer-1.3.5.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
|
783
|
+
tomwer-1.3.5.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
|
784
|
+
tomwer-1.3.5.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
|
785
|
+
tomwer-1.3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|