Skip to content

Editing Support #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 22, 2020
Merged

Editing Support #16

merged 9 commits into from
Jan 22, 2020

Conversation

bovee
Copy link
Contributor

@bovee bovee commented Jan 19, 2020

This branch to be merged as v0.4 and includes a number of reliability and feature improvements.

Only minor breaking changes are expected for a potential v1 release (the Python __getitem__ format is still TBD).

New features:

  • add and remove methods added to GeneralTaxonomy
  • add, remove and change methods added to Python API
  • weight-related methods added to Python API
  • Python iteration faster and takes less memory
  • test coverage increased to >90%.

Breaking API changes including:

  • crate::distances to crate::weights
  • base::GeneralTaxonomy::new to base::GeneralTaxonomy::from_arrays
  • base::IntTaxID to base::IntTaxId
  • removal of formats::json::load_json_file
  • formats::json::load_json takes a slice of &str instead of a period-delimited list
  • ranks of None replaced with ranks of TaxRank::Unspecified and many rank-related functions take/return TaxRank instead of Option<TaxRank> for simplicity

Closes #8, closes #9, closes #12, and closes #13.

@bovee bovee requested review from audy and Keats January 19, 2020 22:13
where
D: Debug + PartialOrd + Sum,
T: Clone + Debug + Display + Hash + PartialEq + Ord,
W: Clone + Debug + Ord + PartialOrd + PartialEq + Sum,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bovee bovee merged commit 83509c6 into master Jan 22, 2020
@bovee bovee deleted the rb_editing branch January 22, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weight Methods and Cleanup Expose maximum_weight_path in Python API Use maturin for build process Better editing support
2 participants