Skip to content

Commit

Permalink
fix for dummy files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemoka committed Feb 10, 2024
1 parent bc7a86f commit c56d767
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions batchalign/cli/dispatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ def _dispatch(command, lang, num_speakers,
if "@Options:\tdummy" in data:
shutil.copy2(inp_path, str(repathed))
continue
elif "This is a dummy file to permit playback from the TalkBank browser" in data:
shutil.copy2(inp_path, str(repathed))
continue

# if the file needs to get processed, append it to the list
# to be processed and compute the output
Expand Down
6 changes: 3 additions & 3 deletions batchalign/version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0.5.0-beta.0
Feb 9th, 2024
--retokenize option + backwards incompatible switch to mor with dashes
0.5.0-beta.1
Feb 10th, 2024
fix for dummy files

0 comments on commit c56d767

Please sign in to comment.