Skip to content

Commit

Permalink
Update and rename ds_convert.py to convert_ds.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hrukalive authored May 24, 2023
1 parent 38dc4f5 commit 3c2d418
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def cli():
def csv2ds(transcription_file, ds_folder, overwrite, tolerance, hop_size, sample_rate):
"""Convert a transcription file to DS file"""
wavs_folder = transcription_file.parent / "wavs"
assert wavs_folder.is_dir(), "raw folder not found."
assert wavs_folder.is_dir(), "wavs folder not found."

ds_folder.mkdir(parents=True, exist_ok=True)
with open(transcription_file, "r", encoding="utf-8") as f:
Expand Down

0 comments on commit 3c2d418

Please sign in to comment.