def build_hpo_term(hpo_info):
try:<EOL><INDENT>hpo_id = hpo_info['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>raise KeyError("<STR_LIT>")<EOL><DEDENT>LOG.debug("<STR_LIT>", hpo_id)<EOL>try:<EOL><INDENT>description = hpo_info['<STR_LIT:description>']<EOL><DEDENT>except KeyError:<EOL><INDENT>raise KeyError("<STR_LIT>")<EOL><DEDENT>hpo_obj = HpoTerm(<EOL>hpo_id = hpo_id,<EOL>description = description<EOL>)<EOL>hgnc_ids = hpo_info.get('<STR_LIT>', set())<EOL>if hgnc_ids:<EOL><INDENT>hpo_obj['<STR_LIT>'] = list(hgnc_ids)<EOL><DEDENT>return hpo_obj<EOL>
Build a hpo_term object

    Check that the information is correct and add the correct hgnc ids to the 
    array of genes.

        Args:
            hpo_info(dict)

        Returns:
            hpo_obj(scout.models.HpoTerm): A dictionary with hpo information