Skip to content

Separate ownership and API of Tree. #300

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 1 commit into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ mod site_table;
mod table_collection;
mod table_iterator;
mod traits;
mod tree_interface;
mod trees;
pub mod types;
mod util;
Expand Down Expand Up @@ -437,7 +438,8 @@ pub use traits::IndividualParents;
pub use traits::NodeListGenerator;
pub use traits::TableAccess;
pub use traits::TskitTypeAccess;
pub use trees::{NodeTraversalOrder, Tree, TreeSequence};
pub use tree_interface::{NodeTraversalOrder, TreeInterface};
pub use trees::{Tree, TreeSequence};

// Optional features
#[cfg(any(feature = "provenance", doc))]
Expand Down
3 changes: 2 additions & 1 deletion src/table_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,8 @@ impl TableCollection {
}

#[cfg(any(doc, feature = "provenance"))]
/// Set the provenance table from an [`OwnedProvenanceTable`](`crate::provenance::OwnedSiteTable`)
/// Set the provenance table from an
/// [`OwnedProvenanceTable`](`crate::provenance::OwnedProvenanceTable`)
///
/// # Errors
///
Expand Down
Loading