Skip to content

Commit

Permalink
Merge pull request #431 from sbesson/table_update_outofrange
Browse files Browse the repository at this point in the history
omero.HdfStorage.update: add size check on data.rowNumbers
  • Loading branch information
jburel authored Dec 4, 2024
2 parents 578334c + 0e500ec commit 7e296f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/omero/hdfstorageV2.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ def append(self, cols):
@modifies
def update(self, stamp, data):
self.__initcheck()
self.__sizecheck(None, data.rowNumbers)
if data:
for i, rn in enumerate(data.rowNumbers):
for col in data.columns:
Expand Down

0 comments on commit 7e296f2

Please sign in to comment.