Commit 4e3fc8c3 authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

fix typo

parent 2056953c
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ import sys
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Tuple, Optional
from os import path

import numpy as np
import pytest
@@ -251,7 +252,7 @@ def run_full_chain_split_rendering(
            # !!!! debug only
            if not path.exists(cut_in_file):
               logging.error(f"Unable to cut file {str(in_file)} into {str(cut_in_file)}")
               pytest.fail(f"Unable to cut file {str(in_file)} into {str(cut_in_file)")
               pytest.fail(f"Unable to cut file {str(in_file)} into {str(cut_in_file)}")

            enc_cmd[3] = str(cut_in_file)
        else:
@@ -428,12 +429,13 @@ def run_external_split_rendering(
        if test_info.config.option.create_ref or test_info.config.option.create_cut:
            in_file = FORMAT_TO_FILE_COMPARETEST[in_fmt]
            cut_in_file = output_path_base.joinpath(in_file.stem + "_cut" + in_file.suffix) 
            if not path.exists(cut_in_file):
                truncate_signal(in_file, cut_in_file)

            # !!!! debug only
            if not path.exists(cut_in_file):
               logging.error(f"Unable to cut file {str(in_file)} into {str(cut_in_file)}")
               pytest.fail(f"Unable to cut file {str(in_file)} into {str(cut_in_file)")
               pytest.fail(f"Unable to cut file {str(in_file)} into {str(cut_in_file)}")

            split_pre_cmd[6] = str(cut_in_file)
        else: