示例#1
0
def _debugGenotypeDetail(alleleKey):
    """
    This url is for debugging the allele phenotype by genotype
        section as a standalone page (with header and styles)
    """
    allele = allele_hunter.getAlleleByKey(alleleKey)
    return renderGenotypeDetailForAllele(allele, 'detail/genotype/genotype_detail.html')
示例#2
0
def _debugGenotypeDetail(alleleKey):
    """
    This url is for debugging the allele phenotype by genotype
        section as a standalone page (with header and styles)
    """
    allele = allele_hunter.getAlleleByKey(alleleKey)
    return renderGenotypeDetailForAllele(
        allele, 'detail/genotype/genotype_detail.html')
示例#3
0
def subGenotypeDetail(alleleKey):
    """
    This only loads the sub_alleles_genotypes template (no styles).
    It is intended to be inserted into an existing page.
    Use the 'allele/genotype/debug/' url below for debugging
        and development.
    """
    allele = allele_hunter.getAlleleByKey(alleleKey)
    return renderGenotypeDetailForAllele(allele, 'detail/genotype/sub_allele_genotypes.html')
示例#4
0
def subGenotypeDetail(alleleKey):
    """
    This only loads the sub_alleles_genotypes template (no styles).
    It is intended to be inserted into an existing page.
    Use the 'allele/genotype/debug/' url below for debugging
        and development.
    """
    allele = allele_hunter.getAlleleByKey(alleleKey)
    return renderGenotypeDetailForAllele(
        allele, 'detail/genotype/sub_allele_genotypes.html')
示例#5
0
def alleleDetailByKey(key):
    allele = allele_hunter.getAlleleByKey(key)
    if allele:
        return renderAlleleDetail(allele)
    return error_template('No allele found for _allele_key = %d' % key)
示例#6
0
def alleleDetailByKey(key):
    allele = allele_hunter.getAlleleByKey(key)
    if allele:
        return renderAlleleDetail(allele)
    return error_template('No allele found for _allele_key = %d' % key)