def run(self):
<EOL>database_signatures = {}<EOL>for entry in self._model.reactions:<EOL><INDENT>signature = reaction_signature(<EOL>entry.equation, direction=self._args.compare_direction,<EOL>stoichiometry=self._args.compare_stoichiometry)<EOL>database_signatures.setdefault(signature, set()).add(<EOL>(entry.id, entry.equation, entry.filemark))<EOL><DEDENT>for reaction_set in itervalues(database_signatures):<EOL><INDENT>if len(reaction_set) > <NUM_LIT:1>:<EOL><INDENT>print('<STR_LIT>'.format(<EOL>len(reaction_set)))<EOL>for reaction, equation, filemark in reaction_set:<EOL><INDENT>result = '<STR_LIT>'.format(reaction, equation)<EOL>if filemark is not None:<EOL><INDENT>result += '<STR_LIT>'.format(filemark)<EOL><DEDENT>print(result)<EOL><DEDENT><DEDENT><DEDENT>
Run check for duplicates