Loading tests/data/test_ISM.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/ISM" input_path: "./tests/concatenation_folder/ISM" ### REQUIRED: Output path or file output_path: "./tmp_output_ISM" output_path: "./tests/tmp_output_ISM" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading tests/data/test_MC.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ master_seed: 5 ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/MC" input_path: "./tests/concatenation_folder/MC" ### REQUIRED: Output path or file output_path: "./tmp_output_MC" output_path: "./tests/tmp_output_MC" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading tests/data/test_SBA.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ master_seed: 5 ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/SBA" input_path: "./tests/concatenation_folder/SBA" ### REQUIRED: Output path or file output_path: "./tmp_output_SBA" output_path: "./tests/tmp_output_SBA" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading tests/test_processing.py +3 −3 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ def test_generate_test_items(cfg): # read out input path config = TestConfig(cfg) input_path = Path(config.input_path).absolute() input_path = Path(config.input_path).resolve().absolute() # deduce number of channels based on name if "MC" in cfg: Loading @@ -67,9 +67,9 @@ def test_generate_test_items(cfg): input_path.mkdir(exist_ok=True, parents=True) # copy items to folder -> pink noise and spectral test pink_noise = Path(f"./data/pinknoise/pink_noise_{num_channels}ch_48kHz.wav").absolute() pink_noise = Path(f"./tests/data/pinknoise/pink_noise_{num_channels}ch_48kHz.wav").resolve().absolute() shutil.copy(pink_noise, input_path.joinpath(pink_noise.name)) spectral = Path(f"./data/spectral/spectral_test_{num_channels}ch_48kHz.wav").absolute() spectral = Path(f"./tests/data/spectral/spectral_test_{num_channels}ch_48kHz.wav").resolve().absolute() shutil.copy(spectral, input_path.joinpath(spectral.name)) generate_test(args) Loading
tests/data/test_ISM.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/ISM" input_path: "./tests/concatenation_folder/ISM" ### REQUIRED: Output path or file output_path: "./tmp_output_ISM" output_path: "./tests/tmp_output_ISM" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading
tests/data/test_MC.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ master_seed: 5 ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/MC" input_path: "./tests/concatenation_folder/MC" ### REQUIRED: Output path or file output_path: "./tmp_output_MC" output_path: "./tests/tmp_output_MC" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading
tests/data/test_SBA.yml +2 −2 Original line number Diff line number Diff line Loading @@ -22,9 +22,9 @@ master_seed: 5 ### Do not use file names with dots "." in them! This is not supported, use "_" instead ### For Windows user: please use double back slash '\\' in paths and add '.exe' to executable definitions ### REQUIRED: Input path or file input_path: "./concatenation_folder/SBA" input_path: "./tests/concatenation_folder/SBA" ### REQUIRED: Output path or file output_path: "./tmp_output_SBA" output_path: "./tests/tmp_output_SBA" ### Metadata path or file(s) ### If input format is ISM{1-4} a path for the metadata files can be specified; ### default = null (for ISM search for item_name.{wav, raw, pcm}.{0-3}.csv in input folder, otherise ignored) Loading
tests/test_processing.py +3 −3 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ def test_generate_test_items(cfg): # read out input path config = TestConfig(cfg) input_path = Path(config.input_path).absolute() input_path = Path(config.input_path).resolve().absolute() # deduce number of channels based on name if "MC" in cfg: Loading @@ -67,9 +67,9 @@ def test_generate_test_items(cfg): input_path.mkdir(exist_ok=True, parents=True) # copy items to folder -> pink noise and spectral test pink_noise = Path(f"./data/pinknoise/pink_noise_{num_channels}ch_48kHz.wav").absolute() pink_noise = Path(f"./tests/data/pinknoise/pink_noise_{num_channels}ch_48kHz.wav").resolve().absolute() shutil.copy(pink_noise, input_path.joinpath(pink_noise.name)) spectral = Path(f"./data/spectral/spectral_test_{num_channels}ch_48kHz.wav").absolute() spectral = Path(f"./tests/data/spectral/spectral_test_{num_channels}ch_48kHz.wav").resolve().absolute() shutil.copy(spectral, input_path.joinpath(spectral.name)) generate_test(args)