Task #8922 (new)
Opened 12 years ago
Last modified 8 years ago
Bug: setting ROI shape to None
Reported by: | cblackburn | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | ROI |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | cxallan, jamoore, jburel, sylittlewood |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
The is a test in roi.py which references #3703
roi = omero.model.RoiI() roi.addShape(omero.model.RectangleI()) roi.addShape(omero.model.RectangleI()) roi.setShape(0, None)
This test fails as there is no setShape() method. The same effect can be achieved using,
... roi.addShape(rect2) roi._shapesSeq[0] = None
However, this causes the exception below when saveAndReturnObject() is called in the Pixels object.
Not sure if this is a bug or the sort of thing you expect when you hack around like this. Is the test still relevant?
Change History (7)
comment:1 Changed 12 years ago by cblackburn
comment:2 Changed 12 years ago by jburel
Referencing ticket #8084 has changed sprint.
comment:3 Changed 12 years ago by jmoore
- Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.5
Pushing with the schema work. This is somewhat hacky, but we should still try to prevent issues.
comment:4 Changed 11 years ago by ajpatterson
Referencing ticket #8084 has changed sprint.
comment:5 Changed 8 years ago by jamoore
- Cc changed from cxallan,jamoore,jburel,sylittlewood to cxallan, jamoore, jburel, sylittlewood
- Milestone changed from 5.x to ROI
comment:6 Changed 8 years ago by jamoore
Referencing ticket #8084 has changed sprint.
comment:7 Changed 8 years ago by jamoore
Referencing ticket #8084 has changed sprint.