Loading ivas_processing_scripts/audiotools/wrappers/gen_patt.py +2 −2 Original line number Diff line number Diff line Loading @@ -137,8 +137,8 @@ def create_error_pattern( tmp_sta_file_test = tmp_dir_test.joinpath("sta") gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test) if not tmp_sta_file_test.exists(): raise FileNotFoundError( "A non-working version of gen-patt was detected. Replace it with a bug-free version." raise RuntimeError( "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details." ) with TemporaryDirectory() as tmp_dir: Loading Loading
ivas_processing_scripts/audiotools/wrappers/gen_patt.py +2 −2 Original line number Diff line number Diff line Loading @@ -137,8 +137,8 @@ def create_error_pattern( tmp_sta_file_test = tmp_dir_test.joinpath("sta") gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test) if not tmp_sta_file_test.exists(): raise FileNotFoundError( "A non-working version of gen-patt was detected. Replace it with a bug-free version." raise RuntimeError( "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details." ) with TemporaryDirectory() as tmp_dir: Loading