Skip to content

Commit 2dbf4a8

Browse files
committed
Upload annotation classes in CLI
1 parent 4bbedb9 commit 2dbf4a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

superannotate/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ def preannotations_upload(args, annotations=False):
120120
args.folder, tempdir_path, "COCO", args.dataset_name, project_type,
121121
args.task
122122
)
123-
sa.create_annotation_classes_from_classes_json(
124-
args.project, tempdir_path / "classes" / "classes.json"
125-
)
126123
args.folder = tempdir_path
124+
sa.create_annotation_classes_from_classes_json(
125+
args.project, Path(args.folder) / "classes" / "classes.json"
126+
)
127127

128128
if annotations:
129129
sa.upload_annotations_from_folder_to_project(

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.1"
1+
__version__ = "2.3.2"

0 commit comments

Comments
 (0)