Skip to content

Commit aefd1fa

Browse files
author
Thomas Fish
committed
Removed index argument from Rectangle as there's only one per ROI
Updated rectangle to Rectangle to keep with the style
1 parent 007a2ba commit aefd1fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bioformats/omexml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ def __init__(self, node):
16241624
self.node = node
16251625
self.ns = get_namespaces(self.node)
16261626

1627-
def rectangle(self, index=0):
1627+
def Rectangle(self):
16281628
'''The OME/ROI/Union element. Currently only rectangle ROIs are available.'''
16291629
return OMEXML.Rectangle(self.node.find(qn(self.ns['ome'], "Rectangle")))
16301630

0 commit comments

Comments
 (0)