We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9998d6 commit 8b8d74dCopy full SHA for 8b8d74d
forte/data/ontology/top.py
@@ -1096,8 +1096,8 @@ class Box(Region):
1096
def __init__(
1097
self,
1098
pack: PackType,
1099
- cy: int,
1100
- cx: int,
+ cy: int = 0,
+ cx: int = 0,
1101
height: int = 1,
1102
width: int = 1,
1103
image_payload_idx: int = 0,
tests/forte/data/data_store_test.py
@@ -1101,7 +1101,7 @@ def test_get(self):
"forte.data.ontology.top.Annotation", range_annotation=(1, 20)
)
1104
- self.assertEqual(len(instances), 4)
+ self.assertEqual(len(instances), 2)
1105
1106
# get groups with subclasses
1107
instances = list(self.data_store.get("forte.data.ontology.top.Group"))
0 commit comments