Commit 7a9a676b authored by Jan Kiene's avatar Jan Kiene
Browse files

double testfile length to avoid problem with gen-patt

parent e757009a
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ from tests.constants import (
    NCHAN_TO_FILE,
)
from ivas_processing_scripts.audiotools import audio
from ivas_processing_scripts.audiotools.audiofile import concat


BG_NOISE_FOR_EXPERIMENT = {
@@ -93,7 +94,8 @@ def test_generate_test_items(exp_name):
    # copy input files
    for f in dummy_input_files:
        f_out = input_path.joinpath(f.name).resolve().absolute()
        shutil.copy(f, f_out)
        # need at least 2s of input files for gen-patt to be happy (can not keep the tolerance for 50 frames only)
        concat([str(f)] * 2, str(f_out))
        for i, md_f in enumerate(dummy_md_files):
            suffix = f"{i}.csv"
            md_f_out = ".".join([str(f_out), suffix])