From 3d83d0ee713eede70379409778b4fdedf70164e3 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Fri, 13 Feb 2026 18:52:58 +0000 Subject: [PATCH] Apply and format error message suggestions --- src/openflexure_microscope_server/stitching.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/openflexure_microscope_server/stitching.py b/src/openflexure_microscope_server/stitching.py index 6898712d..1f077ec6 100644 --- a/src/openflexure_microscope_server/stitching.py +++ b/src/openflexure_microscope_server/stitching.py @@ -292,8 +292,9 @@ class FinalStitcher(BaseStitcher): or "OSError: broken data stream when writing image file" in full_output ): raise ChildProcessError( - Image dimensions too big for stitching into a JPEG file. Stitched output will exceed the maximum number of pixels in a JPEG (65,535×65,535 pixels). Download the full scan " - "and stitch with alternate settings." + "Image dimensions too big for stitching into a JPEG file. Stitched output will " + "exceed the maximum number of pixels in a JPEG (65,535x65,535 pixels). Download " + "the full scan and stitch with alternate settings." ) raise ChildProcessError( "Unexpected error when stitching (Exit code 1).\nCheck the logs for more information."