Commit 8730b3a4 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix log file selection for ISM+ modes

parent aea05516
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -187,8 +187,9 @@ class IvasModeAnalyzer(IvasModeCollector):
        all_log_files = os.listdir(log_dir)
        for mode in self.flat_mode_list:
            for f in all_log_files:
                search_string = re.escape("_{}".format(mode))
                if (
                    re.search("_{}".format(mode), f)
                    re.search(search_string, f)
                    and os.path.splitext(f)[1] == LOG_FILE_EXT
                ):
                    # this is a log file belonging to the ivas_format