Source: EasyReflectometryApp/Backends/Py/logic/bayesian.py setters (e.g. line 42) via analysis.py:206-245 — DEEP_ANALYSIS.md §5 item 16 (and §3.2)
The Bayesian hyper-parameter setters (setBayesianSamples, etc.) forward to Bayesian property setters that raise ValueError on invalid input. A slot raising into the Qt event loop prints a stderr traceback and leaves minimizerChanged unemitted, so QML gets no feedback on invalid spinbox input.
Fix: Validate-and-clamp (or emit an error signal) instead of raising from the slot.
Source:
EasyReflectometryApp/Backends/Py/logic/bayesian.pysetters (e.g. line 42) viaanalysis.py:206-245— DEEP_ANALYSIS.md §5 item 16 (and §3.2)The Bayesian hyper-parameter setters (
setBayesianSamples, etc.) forward toBayesianproperty setters that raiseValueErroron invalid input. A slot raising into the Qt event loop prints a stderr traceback and leavesminimizerChangedunemitted, so QML gets no feedback on invalid spinbox input.Fix: Validate-and-clamp (or emit an error signal) instead of raising from the slot.