tomwer 1.3.24__py3-none-any.whl → 1.3.25__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/app/zstitching.py CHANGED
@@ -56,7 +56,6 @@ class MainWidget(qt.QTabWidget):
56
56
  "partition": settingsClass.PARTITION,
57
57
  "n_gpus": settingsClass.N_GPUS_PER_WORKER,
58
58
  "job_name": settingsClass.PROJECT_NAME,
59
- "walltime": settingsClass.DEFAULT_WALLTIME,
60
59
  "python_venv": settingsClass.PYTHON_VENV,
61
60
  }
62
61
  )
@@ -48,7 +48,6 @@ class SlurmClusterConfiguration:
48
48
  queue=_SlurmSettings.PARTITION,
49
49
  n_gpus=_SlurmSettings.N_GPUS_PER_WORKER,
50
50
  project_name=_SlurmSettings.PROJECT_NAME,
51
- walltime=_SlurmSettings.DEFAULT_WALLTIME,
52
51
  python_venv=_SlurmSettings.PYTHON_VENV,
53
52
  n_jobs=_SlurmSettings.N_JOBS,
54
53
  modules_to_load: tuple = _SlurmSettings.MODULES_TO_LOAD,
@@ -60,7 +59,6 @@ class SlurmClusterConfiguration:
60
59
  self._queue = queue
61
60
  self._n_gpus = n_gpus
62
61
  self._project_name = project_name
63
- self._walltime = walltime
64
62
  self._python_venv = python_venv
65
63
  self._modules_to_load = modules_to_load
66
64
  self._n_jobs = n_jobs
@@ -98,10 +96,6 @@ class SlurmClusterConfiguration:
98
96
  def project_name(self):
99
97
  return self._project_name
100
98
 
101
- @property
102
- def walltime(self):
103
- return self._walltime
104
-
105
99
  @property
106
100
  def python_venv(self):
107
101
  return self._python_venv
@@ -132,7 +126,6 @@ class SlurmClusterConfiguration:
132
126
  "partition": self.queue,
133
127
  "n_gpus": self.n_gpus,
134
128
  "job_name": self.project_name,
135
- "walltime": self.walltime,
136
129
  "python_venv": self.python_venv,
137
130
  "modules": self.modules_to_load,
138
131
  "sbatch_extra_params": self.sbatch_extra_params,
@@ -157,8 +150,6 @@ class SlurmClusterConfiguration:
157
150
  self._n_gpus = dict_["n_gpus"]
158
151
  if "job_name" in dict_:
159
152
  self._project_name = dict_["job_name"]
160
- if "walltime" in dict_:
161
- self._walltime = dict_["walltime"]
162
153
  if "python_venv" in dict_:
163
154
  self._python_venv = dict_["python_venv"]
164
155
  modules = dict_.get("modules", None)
@@ -128,7 +128,6 @@ def get_nabu_resources_desc(scan: TomwerScanBase, method, workers=1) -> dict:
128
128
  "partition": "gpu",
129
129
  "memory_per_node": "90%",
130
130
  "threads_per_node": "100%",
131
- "walltime": "01:00:00",
132
131
  }
133
132
  return res
134
133
 
@@ -166,7 +166,6 @@ class SlurmSettingsWindow(qt.QMainWindow):
166
166
  "partition": settingsClass.PARTITION,
167
167
  "n_gpus": settingsClass.N_GPUS_PER_WORKER,
168
168
  "job_name": settingsClass.PROJECT_NAME,
169
- "walltime": settingsClass.DEFAULT_WALLTIME,
170
169
  "python_venv": settingsClass.PYTHON_VENV,
171
170
  "modules": settingsClass.MODULES_TO_LOAD,
172
171
  }
@@ -261,11 +260,6 @@ class SlurmSettingsWidget(qt.QWidget):
261
260
  self._nJobsLabel.setVisible(jobLimitation is None)
262
261
  self._nJobs.setVisible(jobLimitation is None)
263
262
 
264
- # wall time
265
- self._wallTimeQLE = qt.QLineEdit("", self)
266
- self._wallTimeLabel = qt.QLabel("wall time", self)
267
- self.layout().addRow(self._wallTimeLabel, self._wallTimeQLE)
268
-
269
263
  # python exe / modules
270
264
  self._preProcessingGroup = qt.QGroupBox("pre-processing", self)
271
265
  self._preProcessingGroup.setLayout(qt.QFormLayout())
@@ -356,8 +350,6 @@ class SlurmSettingsWidget(qt.QWidget):
356
350
  self._sbatchAdvancedParameters.layout().addRow("-C (gpu card)", self._gpuCardCB)
357
351
 
358
352
  # simplify gui
359
- self._wallTimeLabel.hide()
360
- self._wallTimeQLE.hide()
361
353
  self._dashboardPort.hide()
362
354
  self._dashboardPortLabel.hide()
363
355
  self._jobName.hide()
@@ -376,7 +368,6 @@ class SlurmSettingsWidget(qt.QWidget):
376
368
  self._queue.setCurrentText(SlurmSettings.PARTITION)
377
369
  self._nGpu.setValue(n_gpu)
378
370
  self._jobName.setText(SlurmSettings.PROJECT_NAME)
379
- self._wallTimeQLE.setText(SlurmSettings.DEFAULT_WALLTIME)
380
371
  self._modulesCB.setChecked(True) # by default we go for modules
381
372
  self._preProcessingModeChanged()
382
373
  self._partitionChanged()
@@ -389,7 +380,6 @@ class SlurmSettingsWidget(qt.QWidget):
389
380
  self._queue.currentTextChanged.connect(self._configurationChanged)
390
381
  self._nGpu.valueChanged.connect(self._configurationChanged)
391
382
  self._jobName.editingFinished.connect(self._configurationChanged)
392
- self._wallTimeQLE.editingFinished.connect(self._configurationChanged)
393
383
  self._pythonVenv.editingFinished.connect(self._configurationChanged)
394
384
  self._modulesQLE.editingFinished.connect(self._configurationChanged)
395
385
  self._preProcessingButtonGroup.buttonClicked.connect(self._configurationChanged)
@@ -452,12 +442,6 @@ class SlurmSettingsWidget(qt.QWidget):
452
442
  def setProjectName(self, name):
453
443
  self._jobName.setText(name)
454
444
 
455
- def getWallTime(self):
456
- return self._wallTimeQLE.text()
457
-
458
- def setWallTime(self, walltime):
459
- self._wallTimeQLE.setText(walltime)
460
-
461
445
  def getPythonExe(self):
462
446
  if self._sourceScriptCB.isChecked():
463
447
  return self._pythonVenv.text()
@@ -548,10 +532,6 @@ class SlurmSettingsWidget(qt.QWidget):
548
532
  if project_name is not None:
549
533
  self.setProjectName(project_name)
550
534
 
551
- wall_time = config.get("walltime", None)
552
- if wall_time is not None:
553
- self.setWallTime(wall_time)
554
-
555
535
  python_venv = config.get("python_venv", None)
556
536
  if python_venv is not None:
557
537
  python_venv = python_venv.rstrip("'").rstrip('"')
@@ -582,7 +562,6 @@ class SlurmSettingsWidget(qt.QWidget):
582
562
  "partition": self.getQueue(),
583
563
  "n_gpus": self.getNGPU(),
584
564
  "job_name": self.getProjectName(),
585
- "walltime": self.getWallTime(),
586
565
  "sbatch_extra_params": self.getSBatchExtraParams(),
587
566
  }
588
567
  if self._modulesCB.isChecked():
@@ -63,7 +63,6 @@ class TestSlurmWidget(TestCaseQt):
63
63
  "job_name": "tomwer_{scan}_-_{process}_-_{info}",
64
64
  "n_jobs": 1,
65
65
  "modules": ("tomotools/stable",),
66
- "walltime": "01:00:00",
67
66
  "sbatch_extra_params": {
68
67
  "export": "NONE",
69
68
  "gpu_card": None,
tomwer/version.py CHANGED
@@ -77,7 +77,7 @@ RELEASE_LEVEL_VALUE = {
77
77
 
78
78
  MAJOR = 1
79
79
  MINOR = 3
80
- MICRO = 24
80
+ MICRO = 25
81
81
  RELEV = "final" # <16
82
82
  SERIAL = 0 # <16
83
83
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tomwer
3
- Version: 1.3.24
3
+ Version: 1.3.25
4
4
  Summary: "tomography workflow tools"
5
5
  Home-page: https://gitlab.esrf.fr/tomotools/tomwer
6
6
  Author: data analysis unit
@@ -25,7 +25,7 @@ Requires-Dist: numpy
25
25
  Requires-Dist: setuptools
26
26
  Requires-Dist: psutil
27
27
  Requires-Dist: silx[full] >=2.0
28
- Requires-Dist: tomoscan >=2.0.0a11
28
+ Requires-Dist: tomoscan <2.1,>=2.0.0a11
29
29
  Requires-Dist: nxtomo <1.3,>=1.2.3rc1
30
30
  Requires-Dist: nxtomomill <1.1,>=1.0dev
31
31
  Requires-Dist: processview >=1.3
@@ -1,4 +1,4 @@
1
- tomwer-1.3.24-py3.12-nspkg.pth,sha256=UYCZtLWueceGiAlmXKRJUZ0TWQEubpPoQ1pVnAAsME0,502
1
+ tomwer-1.3.25-py3.11-nspkg.pth,sha256=UYCZtLWueceGiAlmXKRJUZ0TWQEubpPoQ1pVnAAsME0,502
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=o6TW9xqGYyYLHUGvLiiYEiiDHP6lwWlX63jMLPNh374,8432
223
- tomwer/version.py,sha256=rd2vlHeWF3189pIaK1GYB5_uwzO0ZQFI-MSeBIbrcdo,4387
223
+ tomwer/version.py,sha256=PNDHR044uzeRANXIRpsABtCh9cCq6sO2BIeGHBhBYjs,4387
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
@@ -243,7 +243,7 @@ tomwer/app/scanviewer.py,sha256=yEaJ78p0ZaDVmk9pdKrEC7UqbabT59hzmAudy44jaiU,2708
243
243
  tomwer/app/sinogramviewer.py,sha256=EnjcgeRM7-3j8j8tFEWIGL-bRM3lVq8wlGWvBV3uDuI,3677
244
244
  tomwer/app/slicestack.py,sha256=YIH4bcOuFri_dHc2EkvYeBL_xv5N9rS8TwLFHaYsYV4,2428
245
245
  tomwer/app/stopdatalistener.py,sha256=p5G6sP2DUXEREZzFf0QGowU9C7hX7nexWZHmC0bTIM4,957
246
- tomwer/app/zstitching.py,sha256=rOc-bwX7A-eMHo0x0dyMsQhzLgcAcyavJlZ3I_D0m5E,12877
246
+ tomwer/app/zstitching.py,sha256=wKwJbLA_ZJ6NUDLmeramEYszUXtAw9gFTZKBRqTAYZQ,12817
247
247
  tomwer/app/canvas_launcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
248
248
  tomwer/app/canvas_launcher/config.py,sha256=vGvyskE-mOLV4PPUverFhx7lQbGuE6E9747ctGcLodY,7164
249
249
  tomwer/app/canvas_launcher/environ.py,sha256=t_sgLAugHUA8d9SR6CZ6HfUHmAjS7ZcSf8I5KiwRayA,2501
@@ -257,7 +257,7 @@ tomwer/core/settings.py,sha256=9WUpakWAbnAkgPP2s71oaObK34FIq928ZQvrFkya404,5358
257
257
  tomwer/core/signal.py,sha256=I5TUcyeBZzrEh1SFGs-ylJSL1aBs41ZFb3IJo3O_55c,6115
258
258
  tomwer/core/tomwer_object.py,sha256=Io2UH9y28_2QjMkkHk0shQ9x15gZ_5xETgLDIqw94vc,1745
259
259
  tomwer/core/cluster/__init__.py,sha256=vak-tOR_fqqnNqZ8xw2ecos-HAgKpZBbC7yk4JUjDKk,60
260
- tomwer/core/cluster/cluster.py,sha256=6xFJ4jpz7qtyrCvoQZ50h-WPu3O_1mYY-5TBQVGWtwA,5744
260
+ tomwer/core/cluster/cluster.py,sha256=1LCZBUJKPUISGgP_O6Ukuzze72Z__KQkLVeyzQAx3wI,5473
261
261
  tomwer/core/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
262
262
  tomwer/core/log/logger.py,sha256=KDHLUbaVx3hOuIk8WmzS61x1IkYgAZJ97nVYUI5-PTU,4099
263
263
  tomwer/core/log/processlog.py,sha256=0XmoKVUpHjxvaOFEi56eqF1edHPzCfsCmjdMMZP2sxs,3697
@@ -331,7 +331,7 @@ tomwer/core/process/reconstruction/nabu/nabuvolume.py,sha256=z7nyfXhMrp0Q3hAN3NY
331
331
  tomwer/core/process/reconstruction/nabu/plane.py,sha256=Cgzth77M0pFgLDULmvmPj4bqFm5MvIMJ7Ien8mRqLsE,134
332
332
  tomwer/core/process/reconstruction/nabu/settings.py,sha256=JpHKf0smiXeWC8i9Mj7h3g67teJ3Gqycd-Uwg2yzGOQ,2279
333
333
  tomwer/core/process/reconstruction/nabu/target.py,sha256=_Z4gViprjR3Vm4KASqsASStLA9GM1wTyoi3Pg0PUSeg,1481
334
- tomwer/core/process/reconstruction/nabu/utils.py,sha256=zjEcGS0rET0kXyW26NkIf4aWtKw304DwnvOr1nGXt0E,18465
334
+ tomwer/core/process/reconstruction/nabu/utils.py,sha256=mrIrukLAjnC5S2wM9uz5bHdpZwPDKg5BGAjoK_Bu9_Y,18433
335
335
  tomwer/core/process/reconstruction/normalization/__init__.py,sha256=TDtATpMVFkEOT93wLXLpW0A_TOeiQDiM7AWAqX4FIB0,119
336
336
  tomwer/core/process/reconstruction/normalization/normalization.py,sha256=G-eAZIct47RvzvHNMbKsG4Dt58vTSKhvH-NnIMzxzOs,13210
337
337
  tomwer/core/process/reconstruction/normalization/params.py,sha256=porWC6G5lQWF-4JB03B56uGmuMxjx3u0ZMums-Bh2p8,4790
@@ -437,10 +437,10 @@ tomwer/gui/settings.py,sha256=2Uy0itj8Dg-Owtay852l_oSCop2CQBFqIU11iVj2-nE,244
437
437
  tomwer/gui/stackplot.py,sha256=Bz-6Taen3RKAa6FYKeZ81M27r9hahbjAr7Cnx0TsPhE,25517
438
438
  tomwer/gui/stacks.py,sha256=iyMDSmVRn4u1Nf7mqIcmYJEVw86GReEK4zepB6DKTmk,8650
439
439
  tomwer/gui/cluster/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
440
- tomwer/gui/cluster/slurm.py,sha256=mXTAX62V7Nvb8al9HTnDJTOx5aDRzO-bn3o-djkqnog,27688
440
+ tomwer/gui/cluster/slurm.py,sha256=gjWj2PuyuWoRefCdOGy5tkt7gljEFyscK8ZXvsLaigo,26878
441
441
  tomwer/gui/cluster/supervisor.py,sha256=afsXoPocymwhKABam1U2o8LshtVuTMdKaJXBWQAhVNY,17117
442
442
  tomwer/gui/cluster/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
443
- tomwer/gui/cluster/test/test_cluster.py,sha256=qGDSr3GMPo-nhXtaG-O6hQKzXAh7J9LgaHr8a8sUFRc,3937
443
+ tomwer/gui/cluster/test/test_cluster.py,sha256=x-DJQDyo8OW_JghDrRieALyVjhpYcpyZmTOs2z9ibQ8,3901
444
444
  tomwer/gui/cluster/test/test_supervisor.py,sha256=0y24z3sAmc4_WMi-30XZGHgnM7ZqWoXRbu4KlTcZfQw,3212
445
445
  tomwer/gui/conditions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
446
446
  tomwer/gui/conditions/filter.py,sha256=8oKv3zCTzdwjqSjiplXkKkRRKn70vpfgpZRWMwIJ19Q,5549
@@ -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.24.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
780
- tomwer-1.3.24.dist-info/METADATA,sha256=kkKZJLl8q714m2WzVRbBDuDDbkQwxTtX1vFIXZdhV8w,10718
781
- tomwer-1.3.24.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
782
- tomwer-1.3.24.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
783
- tomwer-1.3.24.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
784
- tomwer-1.3.24.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
785
- tomwer-1.3.24.dist-info/RECORD,,
779
+ tomwer-1.3.25.dist-info/LICENSE,sha256=yR_hIZ1MfDh9x2_s23uFqBH7m5DgrBl9nJKkE37YChM,1877
780
+ tomwer-1.3.25.dist-info/METADATA,sha256=uWH80kDdxy7VDmh-59uJWZNmr64EXWEIFpxymag6Kmk,10723
781
+ tomwer-1.3.25.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
782
+ tomwer-1.3.25.dist-info/entry_points.txt,sha256=fIcDnCxjgwzfIylLYhUsFyiNZjZMxsfRQBxi4f-cJg8,440
783
+ tomwer-1.3.25.dist-info/namespace_packages.txt,sha256=Iut-JTfT11SZHHm77_ZeszD7pZDWXcTweCbvrJpqDyQ,14
784
+ tomwer-1.3.25.dist-info/top_level.txt,sha256=Yz5zKh0FPiImtzHYcPuztG1AO8-6KEpUWgoChGbA0Ys,21
785
+ tomwer-1.3.25.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5