Failed
OmeroWeb.test.integration.test_tree.TestTree.test_marshal_tagged_image_pixels (from pytest)
Error Message
ValueError: not enough values to unpack (expected 6, got 5)
Stacktrace
self = <test_tree.TestTree object at 0x7f8e130ccee0> userA = (<omero.clients.BaseClient object at 0x7f8e949931f0>, object #0 (::omero::model::Experimenter) { _id = object #1 (...nnotationLinksSeq = { } _annotationLinksLoaded = False _annotationLinksCountPerOwner = { } }) tag_image_pixels = (object #0 (::omero::model::TagAnnotation) { _id = object #1 (::omero::RLong) { _val = 38138 } ... _val = testImage } _description = object #66 (::omero::RString) { _val = description } }) def test_marshal_tagged_image_pixels(self, userA, tag_image_pixels): """ Test that tagged images queries support loading of pixels to get sizeX, sizeY, sizeZ, sizeT """ tag = tag_image_pixels[0] image = tag_image_pixels[1] conn = get_connection(userA) expected = expected_images(userA, [image]) expected[0]['sizeX'] = 50 expected[0]['sizeY'] = 50 expected[0]['sizeZ'] = 5 expected[0]['sizeT'] = 1 > marshaled = marshal_tagged(conn=conn, tag_id=tag.id.val, load_pixels=True) test/integration/test_tree.py:2327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../../.venv3/lib64/python3.9/site-packages/omeroweb/webclient/tree.py:1552: in marshal_tagged images.append(_marshal_image(conn, row, **kwargs)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ conn = <omeroweb.webclient.webclient_gateway.OmeroWebGateway object at 0x7f8e946fad30> row = [7407, 'testImage', 4643, {'canAnnotate': True, 'canChgrp': True, 'canChown': False, 'canDelete': True, ...}, None] row_pixels = [50, 50, 5, 1], share_id = None, date = None, acqDate = None thumbVersion = None def _marshal_image( conn, row, row_pixels=None, share_id=None, date=None, acqDate=None, thumbVersion=None, ): """Given an Image row (list) marshals it into a dictionary. Order and type of columns in row is: * id (rlong) * name (rstring) * details.owner.id (rlong) * details.permissions (dict) * fileset_id (rlong) May also take a row_pixels (list) if X,Y,Z,T dimensions are loaded * pixels.sizeX (rlong) * pixels.sizeY (rlong) * pixels.sizeZ (rlong) * pixels.sizeT (rlong) @param conn OMERO gateway. @type conn L{omero.gateway.BlitzGateway} @param row The Image row to marshal @type row L{list} @param row_pixels The Image row pixels data to marshal @type row_pixels L{list} """ > image_id, archived, name, owner_id, permissions, fileset_id = row E ValueError: not enough values to unpack (expected 6, got 5) ../../../../.venv3/lib64/python3.9/site-packages/omeroweb/webclient/tree.py:552: ValueError