Loading ivas_processing_scripts/processing/processing.py +5 −2 Original line number Diff line number Diff line Loading @@ -363,12 +363,15 @@ def process_item( out_dir_wav = True else: processing_paths.append(tmp_file.with_suffix(f".{p.name}{tmp_file.suffix}")) try: try: # TODO: clean up try except blocks out_format = p.out_fmt except AttributeError: # EVS has no attribute out_fmt out_format = p.in_fmt try: if p.name == "pre_2": bool_ism = p.in_fmt.startswith("ISM") else: bool_ism = out_format.startswith("ISM") except Exception: bool_ism = out_format.name.startswith("ISM") Loading Loading
ivas_processing_scripts/processing/processing.py +5 −2 Original line number Diff line number Diff line Loading @@ -363,12 +363,15 @@ def process_item( out_dir_wav = True else: processing_paths.append(tmp_file.with_suffix(f".{p.name}{tmp_file.suffix}")) try: try: # TODO: clean up try except blocks out_format = p.out_fmt except AttributeError: # EVS has no attribute out_fmt out_format = p.in_fmt try: if p.name == "pre_2": bool_ism = p.in_fmt.startswith("ISM") else: bool_ism = out_format.startswith("ISM") except Exception: bool_ism = out_format.name.startswith("ISM") Loading