Skip to content

Commit

Permalink
Cope with diploid-diploid interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
kimrutherford committed Mar 27, 2024
1 parent 3437e1e commit c4e0193
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pombase/web/data_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ impl <'a> WebDataBuild<'a> {
}
}

// return the gene of a single allele
// return the gene of a single locus
fn gene_from_genotype(&self, genotype_uniquename: &GenotypeUniquename)
-> GeneUniquename
{
Expand All @@ -1230,9 +1230,6 @@ impl <'a> WebDataBuild<'a> {
}

let expressed_alleles = &loci[0].expressed_alleles;
if expressed_alleles.len() > 1 {
panic!("genotype is a diploid");
}

let allele_uniquename = &expressed_alleles[0].allele_uniquename;

Expand Down

0 comments on commit c4e0193

Please sign in to comment.