From c56d767512b1eed8a28f8f6744f2fe1519a3ab11 Mon Sep 17 00:00:00 2001 From: Houjun Liu Date: Sat, 10 Feb 2024 15:32:46 -0800 Subject: [PATCH] fix for dummy files --- batchalign/cli/dispatch.py | 3 +++ batchalign/version | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/batchalign/cli/dispatch.py b/batchalign/cli/dispatch.py index dc0c241..b68ca12 100644 --- a/batchalign/cli/dispatch.py +++ b/batchalign/cli/dispatch.py @@ -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 diff --git a/batchalign/version b/batchalign/version index 926fe5d..637cce8 100644 --- a/batchalign/version +++ b/batchalign/version @@ -1,3 +1,3 @@ -0.5.0-beta.0 -Feb 9th, 2024 ---retokenize option + backwards incompatible switch to mor with dashes \ No newline at end of file +0.5.0-beta.1 +Feb 10th, 2024 +fix for dummy files \ No newline at end of file