diff --git a/src/pyFAI/gui/pilx/utils.py b/src/pyFAI/gui/pilx/utils.py index ead04373a..d0203f975 100644 --- a/src/pyFAI/gui/pilx/utils.py +++ b/src/pyFAI/gui/pilx/utils.py @@ -53,7 +53,7 @@ def compute_radial_values(pyFAI_config_as_str: str) -> numpy.ndarray: "pixel2": pyFAI_config.get("pixel2"), "splineFile": pyFAI_config.get("splineFile"), "max_shape": pyFAI_config.get("max_shape")}) - + shape = pyFAI_config.get("shape") if shape is None: shape = ai.detector.shape