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

No pictures available in Explorer #392

Open
jakhag opened this issue Jul 13, 2017 · 2 comments
Open

No pictures available in Explorer #392

jakhag opened this issue Jul 13, 2017 · 2 comments

Comments

@jakhag
Copy link

jakhag commented Jul 13, 2017

Pictures of targets/compounds are missing in Explorer.

You can see it here:
http://alpha.openphacts.org:3001/compounds?uri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCHEBI_47381
http://alpha.openphacts.org:3001/targets?uri=http%3A%2F%2Fwww.conceptwiki.org%2Fconcept%2F71b94925-7db5-45b2-b392-e631c3490bbc

@danidi
Copy link

danidi commented Jul 13, 2017

For the compound, the OPS ID links to https://openphacts.scidatasoft.com/OPS533874, which also returns a 404.
A picture for the protein would be available from https://cdn.rcsb.org/images/rutgers/ia/2iag/2iag.pdb1-500.jpg, but I don't know if the syntax works for each protein. The old picture link from rcsb gives a 404.

@ianwdunlop
Copy link
Member

Dues to the images having moved from RSC and the redirect URL not being correct. The explorer tries to get them from https://ops.rsc.org/OPS403534/image which is redirected to http://chemistry.openphacts.org/OPS403534/image but results in a 404 because the images are actually at https://chemistry.openphacts.org/api/api/image/compound/OPS403534.
Either needs a change to explorer to get them from the correct place or the redirect changed so that the RSC image URLs are mapped to the correct new URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants