def shortHelpString(self): """ Returns the algorithms helper string """ if self.descriptions is None: return '' return QgsProcessingUtils.formatHelpMapAsHtml(self.descriptions, self)
def shortHelpString(self): """ Returns the algorithms helper string """ if self.description_file is None: return '' help_file = self.description_file + '.help' print(help_file) if os.path.exists(help_file): with open(help_file) as f: descriptions = json.load(f) return QgsProcessingUtils.formatHelpMapAsHtml(descriptions, self) return ''