Skip to content

Commit 34d0a67

Browse files
committed
testfix
1 parent dbcee0d commit 34d0a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roboflow/util/folderparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def _filterIndividualAnnotations(image, annotation, format):
134134
"licenses": parsed["licenses"],
135135
"categories": parsed["categories"],
136136
"images": [imgReference],
137-
"annotations": [fake_annotation]
138-
+ [a for a in parsed["annotations"] if a["image_id"] == imgReference["id"]],
137+
"annotations": [a for a in parsed["annotations"] if a["image_id"] == imgReference["id"]]
138+
or [fake_annotation],
139139
},
140140
}
141141
return _annotation

0 commit comments

Comments
 (0)