Skip to content

Commit cd6173a

Browse files
authored
Version bump with hotifx (#321)
* removed indirection * version bummp
1 parent 9d60a2f commit cd6173a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

darwin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .client import Client # noqa
55
from .datatypes import Team # noqa
66

7-
__version__ = "0.7.2"
7+
__version__ = "0.7.3"

darwin/importer/formats/superannotate.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _convert(
128128
conver_to_darwin_object = partial(_convert_instance, superannotate_classes=superannotate_classes)
129129

130130
filename: str = str(metadata.get("name"))
131-
darwin_tags: List[Annotation] = _map_to_list(_convert_tag, tags)
131+
darwin_tags: List[Annotation] = _map_to_list(make_tag, tags)
132132
darwin_objects: List[Annotation] = _map_to_list(conver_to_darwin_object, instances)
133133
annotations: List[Annotation] = darwin_objects + darwin_tags
134134
classes: Set[AnnotationClass] = _map_to_set(_get_class, annotations)
@@ -166,10 +166,6 @@ def _convert_instance(obj: Dict[str, Any], superannotate_classes: List[Dict[str,
166166
raise ValueError(f"Unknown label object {obj}")
167167

168168

169-
def _convert_tag(tag: str) -> Annotation:
170-
return make_tag(tag)
171-
172-
173169
def _to_keypoint_annotation(point: Dict[str, Any], classes: List[Dict[str, Any]]) -> Annotation:
174170
x: float = cast(float, point.get("x"))
175171
y: float = cast(float, point.get("y"))

0 commit comments

Comments
 (0)