def run_analysis(self, string_list): """ This method is used by the core to run analyze and extract strings matching with the "message" type. :param string_list: All strings to analyse. :type string_list: List :return: A list of string without strings previously matched. :rtype: List """ epur_string_list = [] self.bar.init(string_list, self.info_msg + "is running") for string in string_list: msg_found = Parser.getMessage(string) if msg_found != None: self.db.createEntry(string, msg_found, self.type) else: epur_string_list.append(string) self.bar.update() self.bar.close(self.info_msg + "is complete", True) return epur_string_list