Commit f93cf20e authored by Jan Kiene's avatar Jan Kiene
Browse files

fix error in file removal

parent 5431b64c
Loading
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -675,15 +675,15 @@ def sba_dec(
    if gain_flag != -1:
        short_tag_ext += f"_Gain{gain_flag}"
    if pca:
        short_tag_ext += f"_pca"
        short_tag_ext += "_pca"
    if SID == 1:
        short_tag_ext += f"_SID_cut"
        short_tag_ext += "_SID_cut"
    # to avoid conflicting names in case of parallel test execution, differentiate all cases
    long_tag_ext = ""
    if gain_flag != -1:
        long_tag_ext += f"_Gain{gain_flag}"
    if SID == 1:
        long_tag_ext += f"_SID_cut"
        long_tag_ext += "_SID_cut"
    dut_out_dir = f"{dut_base_path}/sba_bs/raw"
    ref_out_dir = f"{reference_path}/sba_bs/raw"

@@ -706,11 +706,14 @@ def sba_dec(
        )

    if update_ref == 0:
        if decoder_only:
            dut_in_pkt = ref_in_pkt

        # call DUT decoder
        decoder_frontend.run(
            output_config,
            sampling_rate,
            dut_in_pkt if not decoder_only else ref_in_pkt,
            dut_in_pkt
            dut_out_raw,
        )