ID30A1 MXPressA: totalOscRange can be zero
This needs a more explicit error message
Traceback (most recent call last):
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/site-packages/ewokscore/task.py", line 401, in execute
self.run()
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/site-packages/ewokscore/ppftasks.py", line 30, in run
result = method(**method_kwargs)
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/bes/src/bes/actors/prepare_collect_without_strategy.py", line 320, in run
checkForFlux and flux is not None and flux > 1.7e12 * 180.0 / totalOscRange
ZeroDivisionError: float division by zero
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/concurrent/futures/process.py", line 246, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/site-packages/pypushflow/concurrent/interrupt/process.py", line 14, in task_main
return fn(*args, **kwargs)
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/site-packages/ewoksppf/ppfrunscript.py", line 27, in run
task.execute()
File "/mnt/multipath-shares/sware/exp/pxsoft/mxworkflows/id30a1/miniforge3/envs/id30a1/lib/python3.9/site-packages/ewokscore/task.py", line 407, in execute
raise RuntimeError(f"Task '{self.label}' failed") from e
RuntimeError: Task 'Prepare collect without strategy' failed