Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 23, 2025
1 parent fef933e commit 7259a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyFAI/gui/pilx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7259a44

Please sign in to comment.