Skip to content

Commit dfb9de8

Browse files
committed
Include image.name in Error logs
1 parent 250f35c commit dfb9de8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/check_pixels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def check_image(idr_conn, image, max_planes):
4949

5050
for plane, idr_plane, idx in zip(planes, idr_planes, zctList):
5151
if not np.array_equiv(plane, idr_plane):
52-
log("Error: Mismatch for Image: %s at plane (z, c, t): %s" % (image.id, idx))
52+
log("Error: Mismatch for Image:%s %s at plane (z, c, t): %s" % (image.id, image.name, idx))
5353
except Exception as ex:
54-
log("Error: Image:%s %s" % (image.id, ex))
54+
log("Error: Image:%s %s %s" % (image.id, image.name, ex))
5555

5656

5757
def get_object(conn, obj_string):

0 commit comments

Comments
 (0)