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

Provide an API #4

Open
jonblack opened this issue Nov 14, 2016 · 0 comments
Open

Provide an API #4

jonblack opened this issue Nov 14, 2016 · 0 comments

Comments

@jonblack
Copy link

When a HOPE user creates a report for a relatively new PDB id mrs is used to search for the pdbfinder2 entry created for that PDB id; however, because the PDB id is relatively new, the pdbfinder2 entry hasn't yet been created, which causes MRS to fail with the following error:

Entry 5kxi does not exist in databank pdbfinder2

This ultimately causes HOPE to fail. I created the issue cmbi/mrs#44 in mrs; however, there isn't much that MRS can do about it because the databanks scripts don't provide an API: files are created regularly using cron jobs, but MRS cannot ask for a missing file to be created on-the-fly.

BASH scripts are very limited, so providing an API will require a rewrite of much of the code. https://github.com/cmbi/databanks2 is an improvement on the BASH scripts, but also suffer from the same problem. Ideally the databanks service needs to be written in a language with better support for API development.

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

1 participant