From d8b2bbd6f5066de883a41ba5338662d60472b0d8 Mon Sep 17 00:00:00 2001 From: William Moore Date: Fri, 13 Sep 2024 09:21:07 +0100 Subject: [PATCH] Flake8 fix --- omero/export_scripts/Batch_ROI_Export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omero/export_scripts/Batch_ROI_Export.py b/omero/export_scripts/Batch_ROI_Export.py index 878bce50..1113f0ae 100644 --- a/omero/export_scripts/Batch_ROI_Export.py +++ b/omero/export_scripts/Batch_ROI_Export.py @@ -43,8 +43,8 @@ def log(data): def is_big_image(image): """Return True if image is tiled.""" - maxSize = image._conn.getMaxPlaneSize() - return (image.getSizeX() * image.getSizeY()) > (maxSize[0] * maxSize[1]) + max_size = image._conn.getMaxPlaneSize() + return (image.getSizeX() * image.getSizeY()) > (max_size[0] * max_size[1]) def get_export_data(conn, script_params, image, units=None):