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

render data access from neuroglancer #46

Closed
tnguira opened this issue Jul 20, 2017 · 4 comments
Closed

render data access from neuroglancer #46

tnguira opened this issue Jul 20, 2017 · 4 comments

Comments

@tnguira
Copy link

tnguira commented Jul 20, 2017

I want to visualize with Neuroglancer a render project (https://github.com/saalfeldlab/render) that is stored locally on a hard drive.
I have built Neuroglancer successfully. I do not know what link I should provide to access the project. I have tried these links unsuccessfully:

-http://localhost:8080/render-ws/v1/owner/tahar/project/LMEMproject/stack/v1_align_tps
-localhost:8080/render-ws/v1/owner/tahar/project/LMEMproject/stack/v1_align_tps
-render-ws/v1/owner/tahar/project/LMEMproject/stack/v1_align_tps

Before I take more time trying to decipher the regular expression it is looking for (https://github.com/google/neuroglancer/blob/master/src/neuroglancer/datasource/render/frontend.ts#L321), could maybe someone provide an example of a link used to access a local render project ?
Thanks a lot

@jbms
Copy link
Collaborator

jbms commented Jul 20, 2017

I believe you use a data source URL of the form:
render://http://localhost:8080/tahar/LMEMproject/v1_align_tps

@alexbaden wrote the render datasource and may be able to provide further assistance.

@jbms
Copy link
Collaborator

jbms commented Jul 20, 2017

Note also that in order to access http:// resources, neuroglancer itself must also be loaded from an http:// (rather than https://) due to browser restrictions

@tnguira
Copy link
Author

tnguira commented Jul 21, 2017

I tried this link but it still does not match the regular expression in https://github.com/google/neuroglancer/blob/master/src/neuroglancer/datasource/render/frontend.ts#L321
@alexbaden could you help please ?
Thank you.

@tnguira
Copy link
Author

tnguira commented Jul 21, 2017

It is working now. The correct address to use was indeed

render://http://localhost:8080/tahar/LMEMproject/v1_align_tps

as suggested by @jbms. I do not understand what went wrong before.
Sorry @alexbaden, it was all good.
Thanks for your help

@tnguira tnguira closed this as completed Jul 21, 2017
thejohnhoffer pushed a commit to Rhoana/neuroglancer that referenced this issue Oct 23, 2017
* feat: added tenacity to requirements.txt

* feat(Storage): added retry logic recommended on AWS blog

https://www.awsarchitectureblog.com/2015/03/backoff.html

Resolves google#46 google#91
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