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

PhyloXML string not supported #457

Open
miguel76 opened this issue Apr 4, 2024 · 0 comments
Open

PhyloXML string not supported #457

miguel76 opened this issue Apr 4, 2024 · 0 comments

Comments

@miguel76
Copy link

miguel76 commented Apr 4, 2024

According to the API documentation at https://github.com/veg/phylotree.js/blob/master/API.md#new-phylotreenwk-options, a PhyloXML string should be accepted by the constructor.
It instead expects it as an already parsed XML document.
Rather than changing the documentation, I suggest enabling both types of input by calling an XML parser if the passed parameter is a string.

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

1 participant