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')
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')
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')
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')
def alleleDetailByKey(key): allele = allele_hunter.getAlleleByKey(key) if allele: return renderAlleleDetail(allele) return error_template('No allele found for _allele_key = %d' % key)