Skip to content
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

functions extract_tree_with_taxa and extract_tree_with_taxa_labels have extra parameters in the documentation #86

Closed
idavydov opened this issue Nov 14, 2017 · 1 comment

Comments

@idavydov
Copy link

In the documentation, extract_tree_with_taxa and extract_tree_with_taxa_labels have parameters is_apply_filter_to_leaf_nodes and is_apply_filter_to_internal_nodes. In reality there are no such parameters, if you are trying to call:

subtree = t.extract_tree_with_taxa_labels([...], is_apply_filter_to_leaf_nodes=True)

you get:

TypeError: extract_tree_with_taxa_labels() got an unexpected keyword argument 'is_apply_filter_to_leaf_nodes'

I am not sure if the error is in the documentation or the function. :)

mmore500 added a commit to connoryang1/DendroPy that referenced this issue May 18, 2024
@mmore500
Copy link
Collaborator

Thanks for the report! I've fixed the documentation, it is on the version 5 release branch 👍

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

No branches or pull requests

2 participants