Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Wrappers/Python/cil/processors/CofR_image_sharpness.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def gss(self, data, ig, search_range, tolerance, binning):
new_point = sample_points[-1]- step_c

else:
raise ValueError("The centre of rotation could not be located to the requested tolerance. Try increasing the search tolerance.")
raise ValueError(f"The centre of rotation could not be located to the requested tolerance ({tolerance:.6f} pixels). Try increasing the search tolerance.")

if interval < tolerance:
break
Expand Down