File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " taxonomy"
3
- version = " 0.3.0 "
3
+ version = " 0.3.1 "
4
4
authors = [" Roderick Bovee & One Codex <roderick@onecodex.com>" ]
5
5
description = " Routines for loading, saving, and manipulating taxonomic trees"
6
6
keywords = [" taxonomy" , " bioinformatics" ]
Original file line number Diff line number Diff line change 2
2
//!
3
3
//! Only enabled when `cargo build --features python` is run or when the
4
4
//! Python API is build with `python setup.py develop`.
5
- use std:: collections:: HashMap ;
6
5
use std:: fs:: File ;
7
6
use std:: io:: Cursor ;
8
7
use std:: str:: FromStr ;
@@ -11,7 +10,6 @@ use pyo3::class::*;
11
10
use pyo3:: prelude:: * ;
12
11
use pyo3:: types:: exceptions:: KeyError ;
13
12
use pyo3:: types:: { PyBytes , PyType } ;
14
- use pyo3:: AsPyRef ;
15
13
16
14
use crate :: base:: { GeneralTaxonomy , IntTaxID } ;
17
15
use crate :: edit:: { prune_away, prune_to} ;
@@ -295,11 +293,6 @@ impl Taxonomy {
295
293
} )
296
294
}
297
295
298
- fn maximum_weighted_path ( & self , weights : & PyObject ) -> PyResult < ( String , f64 ) > {
299
- let weights: & HashMap < & str , f32 > = PyObjectRef :: extract ( weights) ?;
300
- Ok ( ( "" . to_string ( ) , 0. ) )
301
- }
302
-
303
296
#[ getter]
304
297
fn get_root ( & self ) -> PyResult < String > {
305
298
let root: IntTaxID = self . t . root ( ) ;
You can’t perform that action at this time.
0 commit comments