55from pathlib import Path
66
77from lib .app .exceptions import AppException
8+ from lib .app .mixp .decorators import Trackable
89
910from .export_from_sa_conversions import export_from_sa
1011from .import_to_sa_conversions import import_to_sa
@@ -132,7 +133,7 @@ def _passes_converter_sanity(args, direction):
132133 )
133134
134135
135- # @Trackable
136+ @Trackable
136137def export_annotation (
137138 input_dir ,
138139 output_dir ,
@@ -214,7 +215,7 @@ def export_annotation(
214215 export_from_sa (args )
215216
216217
217- # @Trackable
218+ @Trackable
218219def import_annotation (
219220 input_dir ,
220221 output_dir ,
@@ -398,7 +399,7 @@ def import_annotation(
398399 import_to_sa (args )
399400
400401
401- # @Trackable
402+ @Trackable
402403def convert_project_type (input_dir , output_dir ):
403404 """ Converts SuperAnnotate 'Vector' project type to 'Pixel' or reverse.
404405
@@ -418,7 +419,7 @@ def convert_project_type(input_dir, output_dir):
418419 sa_convert_project_type (input_dir , output_dir )
419420
420421
421- # @Trackable
422+ @Trackable
422423def coco_split_dataset (
423424 coco_json_path , image_dir , output_dir , dataset_list_name , ratio_list
424425):
@@ -469,7 +470,7 @@ def coco_split_dataset(
469470 split_coco (coco_json_path , image_dir , output_dir , dataset_list_name , ratio_list )
470471
471472
472- # @Trackable
473+ @Trackable
473474def convert_json_version (input_dir , output_dir , version = 2 ):
474475 """
475476 Converts SuperAnnotate JSON versions. Newest JSON version is 2.
0 commit comments