Loading ivas_processing_scripts/processing/postprocessing.py +8 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,15 @@ class Postprocessing(Processing): if in_meta: in_meta_noerror = [] for meta in in_meta: if str(meta).endswith(".met"): # MASA num_suffix = 2 else: # ISM num_suffix = 3 path_parts = str(meta).split(".") suffix = ".".join(path_parts[-3:]) name = ".".join(path_parts[:-3]) suffix = ".".join(path_parts[-num_suffix:]) name = ".".join(path_parts[:-num_suffix]) in_meta_noerror.append(Path(f"{name}.noerror.{suffix}")) else: in_meta_noerror = None Loading Loading
ivas_processing_scripts/processing/postprocessing.py +8 −2 Original line number Diff line number Diff line Loading @@ -60,9 +60,15 @@ class Postprocessing(Processing): if in_meta: in_meta_noerror = [] for meta in in_meta: if str(meta).endswith(".met"): # MASA num_suffix = 2 else: # ISM num_suffix = 3 path_parts = str(meta).split(".") suffix = ".".join(path_parts[-3:]) name = ".".join(path_parts[:-3]) suffix = ".".join(path_parts[-num_suffix:]) name = ".".join(path_parts[:-num_suffix]) in_meta_noerror.append(Path(f"{name}.noerror.{suffix}")) else: in_meta_noerror = None Loading