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

Phylogenetic synthesis on demand - example code not working #7

Open
EwersAquaGenomics opened this issue Jun 8, 2021 · 2 comments
Open

Comments

@EwersAquaGenomics
Copy link

Hi, I am trying to generate a phylogenetic synthesis on demand. But when I run the example in my command line, I get the following error (bolded):
ukzoo-c144110:~ ewers.christine$ curl -X POST https://API_ENDPOINT/v3/tree_of_life/build_tree -d '{"input_collection":"pcart/cnidaria", "root_id": "ott641033"}'
curl: (6) Could not resolve host: API_ENDPOINT

I looks as if I need to change APO_ENDPOINT to something else, but what?

Thank you for your help,
Christine

@mtholder
Copy link
Member

mtholder commented Jun 8, 2021

Currently (because this service is still in testing mode), we are just using a spare machine. The subdomain of that machine is ot38. So the first part of the URL should be https://ot38.opentreeoflife.org
When the service is better tested we'll put it on the api server.

@mtholder
Copy link
Member

mtholder commented Jun 8, 2021

I've just edited https://github.com/OpenTreeOfLife/ws_wrapper/blob/synth-on-demand/synth-on-demand.md to make this clearer (I hope). I'll update that page when we move the service to production servers.

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