File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/superannotate/lib/core/usecases Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1593,15 +1593,14 @@ def fill_classes_data(self, annotations: dict):
15931593 attribute ["groupName" ] = annotation_class ["attribute_groups" ][
15941594 attribute ["groupId" ]
15951595 ]["name" ]
1596- if attribute [ "id" ] not in list (
1596+ if attribute . get ( "id" ) in list (
15971597 annotation_class ["attribute_groups" ][attribute ["groupId" ]][
15981598 "attributes"
15991599 ].keys ()
16001600 ):
1601- continue
1602- attribute ["name" ] = annotation_class ["attribute_groups" ][
1603- attribute ["groupId" ]
1604- ]["attributes" ][attribute ["id" ]]
1601+ attribute ["name" ] = annotation_class ["attribute_groups" ][
1602+ attribute ["groupId" ]
1603+ ]["attributes" ][attribute ["id" ]]
16051604
16061605 def execute (self ):
16071606 if self .is_valid ():
You can’t perform that action at this time.
0 commit comments