Commit edb413e2 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] OMASA EXT always uses 2TC MASA

parent 33e28543
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -141,6 +141,10 @@ def process_output_file(
        elif outformat == "EXT":
            if format in ["5_1", "7_1", "5_1_2", "5_1_4", "7_1_4"]:
                raise ValueError(f"MC EXT ignored; identical to {format} output")
            # OMASA EXT always has MASA2TC
            if "ISM" in format and "MASA" in format:
                outformat = format.replace("MASA1", "MASA2")
            else:
                outformat = format

        metadata = find_metadata_files(outformat, outfile)