You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: