Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristofferEdlund committed Oct 16, 2023
1 parent 65deec8 commit 0c4d3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion darwin/exporter/formats/darwin_1_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _build_legacy_annotation_data(annotation_class: AnnotationClass, data: DictF
v1_data["tag"] = {}

elif annotation_class.annotation_type == "bounding_box":
v1_data["bounding_box"] = data
v1_data[annotation_class.annotation_type] = data

if "bounding_box" in data and annotation_class.annotation_type != "bounding_box":
# Poygons and complex polygons usually have attached bounding_box annotations
Expand Down

0 comments on commit 0c4d3e1

Please sign in to comment.