Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
omero.HdfStorage.update: add size check on data.rowNumbers
Currently if the omero.grid.Data passed to table.update() has rowNumbers values outside the range of rows, the implementation will raise an IndexError which will be returned as an InternalException to the client. This commit adds an initial call to self.__sizecheck(None, data.rowNumbers) which should raise an ApiUsageException with an appropriate error message in that scenario.
- Loading branch information