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

deleteleaf method bug #153

Closed
zyzvnnb opened this issue Dec 10, 2020 · 3 comments
Closed

deleteleaf method bug #153

zyzvnnb opened this issue Dec 10, 2020 · 3 comments

Comments

@zyzvnnb
Copy link

zyzvnnb commented Dec 10, 2020

I am using deleteleaf method. When I try to delete "A13", it seems like "Pae102" also be deleted from the network topology (although "Pae102" is still in tip labels of the network object)
Below is the code to demonstrate this issue, thank you for checking this!

image
image
image

@crsl4
Copy link
Member

crsl4 commented Dec 10, 2020

Thanks @zyzvnnb ! Do you mind writing the code as text that we can copy and reproduce? Thanks!

@cecileane
Copy link
Member

Which version of Julia and which version of PhyloNetworks are you using? You can do this to know:

versioninfo() # for julia version
using Pkg
Pkg.status() # for PhyloNetworks version (and other packages)

I suspect that the problem would go away if you use PhyloNetworks v0.12 (which fixes a related issue). You can refer to the documentation to see how the options for deleteleaf! have been expanded, from v0.11 to v0.12

@cecileane
Copy link
Member

please re-open if the issue persists. I'll assume it's been fixed in v0.12.

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

3 participants