Skip to content

Commit 047995f

Browse files
committed
Merge pull request #49 from will-moore/export_Big_Images_as_jpeg_10841_dev_4_4
Export big images as jpeg 10841 dev 4 4
2 parents c82eda3 + d11a7e8 commit 047995f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

omero/export_scripts/Batch_Image_Export.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def getTrange(sizeT, scriptParams):
387387

388388
for img in images:
389389
if img._prepareRE().requiresPixelsPyramid():
390-
log( " ** Can't export a 'Big' image to %s. **" % format)
390+
log(" ** Can't export a 'Big' image to %s. **" % format)
391391
if len(images) == 1:
392392
return None, "Can't export a 'Big' image to %s." % format
393393
continue
@@ -398,8 +398,9 @@ def getTrange(sizeT, scriptParams):
398398
saveAsOmeTiff(conn, img, folder_name)
399399
else:
400400
if img._prepareRE().requiresPixelsPyramid():
401-
log( " ** Can't export a 'Big' image to OME-TIFF. **")
402-
log("\n----------- Saving planes from image: '%s' ------------" % img.getName())
401+
log(" ** Can't export a 'Big' image to OME-TIFF. **")
402+
log("\n----------- Saving planes from image: '%s' ------------"
403+
% img.getName())
403404
sizeC = img.getSizeC()
404405
sizeZ = img.getSizeZ()
405406
sizeT = img.getSizeT()

0 commit comments

Comments
 (0)