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

Read trees from URLs #27

Open
Wytamma opened this issue Sep 13, 2023 · 2 comments
Open

Read trees from URLs #27

Wytamma opened this issue Sep 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Wytamma
Copy link
Contributor

Wytamma commented Sep 13, 2023

We should handle reading trees from urls. Not sure what the API should be though...

@Wytamma Wytamma added the enhancement New feature or request label Sep 13, 2023
@LeoFeatherstone
Copy link
Contributor

I have added an example for how to do this with a fetch request in #63

@Wytamma
Copy link
Contributor Author

Wytamma commented Apr 29, 2024

This issue was about adding a feature to do this internally if a URL is passed. Currently PhyloJS will raise an error if something that looks like a URL is passed to read -> https://github.com/clockor2/phylojs/blob/main/src/io/readers/tree.ts#L19

@Wytamma Wytamma reopened this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants