Skip to content

Commit

Permalink
Merge pull request #6 from siesto1elemento/my-feature-branch
Browse files Browse the repository at this point in the history
formatting changes
  • Loading branch information
siesto1elemento authored Sep 29, 2024
2 parents bf03a92 + 32f25ac commit b054a47
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 22 deletions.
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/LibriVox.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/VCTK_Corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/VoxCeleb.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/Voxpopuli.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
5 changes: 1 addition & 4 deletions cvat/apps/dataset_manager/formats/common_voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)

_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/librispeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down
4 changes: 1 addition & 3 deletions cvat/apps/dataset_manager/formats/tedlium.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ def _import(src_file, temp_dir, instance_data, load_data_callback=None, **kwargs
"filename_pattern": None,
}

_create_thread(
locked_instance, data, is_task_import=True, temp_dir=temp_dir
)
_create_thread(locked_instance, data)

with open(tsv_file_path, "r", newline="", encoding="utf-8") as tsvfile:
reader = csv.DictReader(tsvfile, delimiter="\t")
Expand Down

0 comments on commit b054a47

Please sign in to comment.