def _add_gene_list(self, parent_tag, gene_id_dict):
list_all_genes = ET.SubElement(parent_tag, _tag(<EOL>'<STR_LIT>', FBC_V2))<EOL>for id, label in sorted(iteritems(gene_id_dict)):<EOL><INDENT>gene_tag = ET.SubElement(<EOL>list_all_genes, _tag('<STR_LIT>', FBC_V2))<EOL>gene_tag.set(_tag('<STR_LIT:id>', FBC_V2), id)<EOL>gene_tag.set(_tag('<STR_LIT:label>', FBC_V2), label)<EOL><DEDENT>
Create list of all gene products as sbml readable elements.