tomwer 1.3.0a4__py3-none-any.whl → 1.3.0a6__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.
@@ -66,6 +66,7 @@ from tomwer.core.scan.edfscan import EDFTomoScan
66
66
  from tomwer.core.scan.nxtomoscan import NXtomoScan
67
67
  from tomwer.core.scan.scanbase import TomwerScanBase
68
68
  from tomwer.core.utils.slurm import get_slurm_script_name, is_slurm_available
69
+ from tomwer.core.volume.volumefactory import VolumeFactory
69
70
 
70
71
  from . import settings, utils
71
72
 
@@ -149,8 +150,6 @@ class ResultsLocalRun(ResultsWithStd):
149
150
  )
150
151
 
151
152
  # check all identifiers
152
- from tomwer.core.volume.volumefactory import VolumeFactory
153
-
154
153
  def check_identifier(identifier):
155
154
  if isinstance(identifier, str):
156
155
  vol = VolumeFactory.create_tomo_object_from_identifier(
@@ -549,7 +549,7 @@ class _ReconstructorMultiCor(_NabuBaseReconstructor):
549
549
  }
550
550
  return ResultsLocalRun(
551
551
  success=not nabu_std_err_has_error(errs),
552
- results_identifiers=recons_vol_identifiers,
552
+ results_identifiers=recons_vol_identifiers.values(),
553
553
  std_out=outs,
554
554
  std_err=errs,
555
555
  config=config_to_dump, # config_slices,
@@ -260,7 +260,6 @@ def get_multi_cor_recons_volume_identifiers(
260
260
  if file_format in ("hdf5", "h5", "hdf"):
261
261
  file_path = os.path.join(
262
262
  location,
263
- f"{file_prefix}_{cor:.3f}", # this level is expected to be removed on the future nabu versions
264
263
  f"{file_prefix}_{cor:.3f}_{str(slice_index).zfill(5)}.{file_format}",
265
264
  )
266
265
  volume = HDF5Volume(
@@ -520,7 +520,10 @@ class SAAxisTask(
520
520
  cors_res, rois = self._post_processing(
521
521
  scan=scan,
522
522
  slice_index=slice_index,
523
- cor_reconstructions=cor_reconstructions,
523
+ cor_reconstructions={
524
+ cor: recons
525
+ for cor, recons in zip(params.cors, cor_reconstructions)
526
+ },
524
527
  )
525
528
  except Exception as e:
526
529
  _logger.error(e)
tomwer/version.py CHANGED
@@ -79,7 +79,7 @@ MAJOR = 1
79
79
  MINOR = 3
80
80
  MICRO = 0
81
81
  RELEV = "alpha" # <16
82
- SERIAL = 4 # <16
82
+ SERIAL = 6 # <16
83
83
 
84
84
  date = __date__
85
85
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tomwer
3
- Version: 1.3.0a4
3
+ Version: 1.3.0a6
4
4
  Summary: "tomography workflow tools"
5
5
  Home-page: https://gitlab.esrf.fr/tomotools/tomwer
6
6
  Author: data analysis unit
@@ -1,4 +1,4 @@
1
- tomwer-1.3.0a4-py3.11-nspkg.pth,sha256=xeeGR3TjdoVxdFeF6T-zSwZWh6Et--EYuPWu67LxL_c,574
1
+ tomwer-1.3.0a6-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
@@ -224,7 +224,7 @@ orangecontrib/tomwer/widgets/visualization/icons/volumeviewer.svg,sha256=2uT9_px
224
224
  tomwer/__init__.py,sha256=82Jp1abyG4UWdGuT4nNU7LxaUV6xxkOte5pIz3w69Do,1745
225
225
  tomwer/__main__.py,sha256=65ohoCNpuwo7nvCGM5OeYazVDaD0LoAA3EoOzpoLyms,8878
226
226
  tomwer/utils.py,sha256=EgVwJ5CQVjoBvcKNwyVoXv_P4ciI11oxb8fNyy82Lck,8465
227
- tomwer/version.py,sha256=THhNUCxekjXuJcZeoI_ISVnJDaj5AlLt7YRO_mx6DSo,4386
227
+ tomwer/version.py,sha256=-kWl-UBDVIClDJKvrhUEtgBC20XKyXBkj7X7268j0fY,4386
228
228
  tomwer/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
229
  tomwer/app/axis.py,sha256=UQNxYpHzxnGdNpkV6sJoO_0tPGCxJkylghwbA7ENsM0,5948
230
230
  tomwer/app/canvas.py,sha256=RbQqgE7DuNjv4nGG6BNfnSevQO5_lCl7N71hGcLoxwE,1561
@@ -331,19 +331,19 @@ tomwer/core/process/reconstruction/lamino/tofu.py,sha256=ur3-OchDL1AZ-WP590Sjx_4
331
331
  tomwer/core/process/reconstruction/nabu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
332
  tomwer/core/process/reconstruction/nabu/castvolume.py,sha256=-V0FubAiBEdMPDgp3ovr0dAYeEzwrQbw_W0R3w8P4YQ,10237
333
333
  tomwer/core/process/reconstruction/nabu/helical.py,sha256=gauUkoPiShvnvMQrCQXv28g0yLe-GceML5kYMSXmNIg,1997
334
- tomwer/core/process/reconstruction/nabu/nabucommon.py,sha256=EO4sEQ_BXU7-VqYTeqa2QVgwfcFnzJIGcso0YxpAFXU,24215
335
- tomwer/core/process/reconstruction/nabu/nabuscores.py,sha256=V3xHOYqiJHAJdnY0DRz8hO1HRSR9wcBRQyM-FZA08Nw,24333
334
+ tomwer/core/process/reconstruction/nabu/nabucommon.py,sha256=gB9-_cpns2trp37QvyRGHrhFlx_wuPKCK70cyXUzc3Y,24206
335
+ tomwer/core/process/reconstruction/nabu/nabuscores.py,sha256=bkdNbKYmxkiNbUZBTKWaPZmdoaJJnKy_PeXPj0_JODY,24342
336
336
  tomwer/core/process/reconstruction/nabu/nabuslices.py,sha256=jP074_K2Px_QlOx4gMgwONj8j0LwlrVUBnWvzGZv7QU,36802
337
337
  tomwer/core/process/reconstruction/nabu/nabuvolume.py,sha256=0Gkkee35PwlvGAukVRIlQJKoz0dXcmuwVKOxEnXECzw,21498
338
338
  tomwer/core/process/reconstruction/nabu/settings.py,sha256=JpHKf0smiXeWC8i9Mj7h3g67teJ3Gqycd-Uwg2yzGOQ,2279
339
339
  tomwer/core/process/reconstruction/nabu/target.py,sha256=_Z4gViprjR3Vm4KASqsASStLA9GM1wTyoi3Pg0PUSeg,1481
340
- tomwer/core/process/reconstruction/nabu/utils.py,sha256=znQUJO5c0-Xw5svuPCs4iPEJhvIugCvVum_XM9RC_bk,17198
340
+ tomwer/core/process/reconstruction/nabu/utils.py,sha256=EIgniS7MAqJEmWBiGG5xrQr-xJ25yN0RcdCSMCMrzR4,17086
341
341
  tomwer/core/process/reconstruction/normalization/__init__.py,sha256=TDtATpMVFkEOT93wLXLpW0A_TOeiQDiM7AWAqX4FIB0,119
342
342
  tomwer/core/process/reconstruction/normalization/normalization.py,sha256=G-eAZIct47RvzvHNMbKsG4Dt58vTSKhvH-NnIMzxzOs,13210
343
343
  tomwer/core/process/reconstruction/normalization/params.py,sha256=porWC6G5lQWF-4JB03B56uGmuMxjx3u0ZMums-Bh2p8,4790
344
344
  tomwer/core/process/reconstruction/saaxis/__init__.py,sha256=ZEOu0nZWlMyBoX_A64yeEjVflE5x4iWSpYLTgs45g0o,137
345
345
  tomwer/core/process/reconstruction/saaxis/params.py,sha256=dvBHxfSs3ffUk22drLAlcmAJJhaC42qV9aW45kC1ITA,5583
346
- tomwer/core/process/reconstruction/saaxis/saaxis.py,sha256=oAFxs7cFblyt01KBaFtpg7njkNGwbMOzx7Y3z4Oz6qI,31900
346
+ tomwer/core/process/reconstruction/saaxis/saaxis.py,sha256=x0aHIONNJ_wZpTpv1j9-luUfgUCgolEFg0QWKZWX8Rc,32033
347
347
  tomwer/core/process/reconstruction/sadeltabeta/__init__.py,sha256=WDYJxfqPnz5IeLPCX5W8UEO8-Z-NSH79gkqp2DZn1bM,162
348
348
  tomwer/core/process/reconstruction/sadeltabeta/params.py,sha256=4UrLpA-6Wwfof9Jl1fcGTd5wrDzDB86GX4vo_PEgj74,4043
349
349
  tomwer/core/process/reconstruction/sadeltabeta/sadeltabeta.py,sha256=KWzWzLm3hBbmBwGwpPP7Whhwfj0PW7V40hKFfjlmfUU,30688
@@ -816,10 +816,10 @@ tomwer/tests/test_utils.py,sha256=D0rNDSK6csEOYBY_7gD-4A3jp8rYAm8L1_Xg34A9I2s,30
816
816
  tomwer/tests/utils.py,sha256=RAXx5A99WD4Vyuv_wjHBdr-Xu7UiThHRKw2eiB5GX10,107
817
817
  tomwer/third_part/WaitingOverlay.py,sha256=GnqiytcJDp_24Cmz_2nZAP5HfpL3Yh7AzR2ATIusGsg,3906
818
818
  tomwer/third_part/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
819
- tomwer-1.3.0a4.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
820
- tomwer-1.3.0a4.dist-info/METADATA,sha256=eZYYjSKtzz2J5LrMezuXOVMZpeVWJGA-QpbI94YX96k,11426
821
- tomwer-1.3.0a4.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
822
- tomwer-1.3.0a4.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
823
- tomwer-1.3.0a4.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
824
- tomwer-1.3.0a4.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
825
- tomwer-1.3.0a4.dist-info/RECORD,,
819
+ tomwer-1.3.0a6.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
820
+ tomwer-1.3.0a6.dist-info/METADATA,sha256=hLpVoLn8zOdUnSjKamJJkLZY_eocjY9BIjXrGScdLI0,11426
821
+ tomwer-1.3.0a6.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
822
+ tomwer-1.3.0a6.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
823
+ tomwer-1.3.0a6.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
824
+ tomwer-1.3.0a6.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
825
+ tomwer-1.3.0a6.dist-info/RECORD,,