Loading tests/test_experiments.py +3 −1 Original line number Diff line number Diff line Loading @@ -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 = { Loading Loading @@ -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]) Loading Loading
tests/test_experiments.py +3 −1 Original line number Diff line number Diff line Loading @@ -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 = { Loading Loading @@ -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]) Loading