Loading ivas_processing_scripts/audiotools/wrappers/gen_patt.py +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ def create_error_pattern( gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test) if not tmp_sta_file_test.exists(): raise RuntimeError( "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details." '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 ivas_processing_scripts/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ def progressbar(iter: Iterable, width=80): def update(progress): fill = int(width * progress / count) print( f"{int(progress/count*100):3d}%{'|'}{'X'*fill}{('.'*(width-fill))}{'|'}{progress}/{count}", f"{int(progress/count*100):3d}%{'|'}{'='*fill}{(' '*(width-fill))}{'|'}{progress}/{count}", end="\r", file=sys.stdout, flush=True, Loading Loading
ivas_processing_scripts/audiotools/wrappers/gen_patt.py +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ def create_error_pattern( gen_patt(100, "ep.g192", 5, working_dir=tmp_dir_test) if not tmp_sta_file_test.exists(): raise RuntimeError( "Used version of gen-patt was detected to be faulty (unable to write \"sta\"-file). See bin/README.md for details." '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
ivas_processing_scripts/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -267,7 +267,7 @@ def progressbar(iter: Iterable, width=80): def update(progress): fill = int(width * progress / count) print( f"{int(progress/count*100):3d}%{'|'}{'X'*fill}{('.'*(width-fill))}{'|'}{progress}/{count}", f"{int(progress/count*100):3d}%{'|'}{'='*fill}{(' '*(width-fill))}{'|'}{progress}/{count}", end="\r", file=sys.stdout, flush=True, Loading