Skip to content

Commit

Permalink
fix: check for selenoprotein biotype as well
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Jul 26, 2024
1 parent 75ea2ba commit 85a4c99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/data/cdot/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,10 @@ impl TxProvider {
.unwrap_or_default()
.contains(needle)
});
let is_selenoprotein = is_selenoprotein
|| tx.biotype.as_ref().map_or(false, |bt| {
bt.contains(&crate::data::cdot::json::models::BioType::Selenoprotein)
});

let hgnc = tx
.gene_name
Expand Down

0 comments on commit 85a4c99

Please sign in to comment.