Function intspan::get_ancestor
source · [−]Expand description
Retrieve the ancestor
let path = std::path::PathBuf::from("tests/nwr/");
let conn = intspan::connect_txdb(&path).unwrap();
let ancestor = intspan::get_ancestor(&conn, 12340).unwrap();
assert_eq!(ancestor.tax_id, 12333);