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

Add curation capabilities to the database #12

Merged
merged 19 commits into from
Oct 30, 2018

Conversation

pagreene
Copy link
Collaborator

The PR sets up the database, client, and rest api to handle posting and (in the case of the client) getting curations. Specifically, the PR:

  • Adds a curation table for both PA and Raw Statements.
  • Adds a function to submit curations to and get curations from the database
  • Adds an endpoint of the rest api to submit curations

In addition, the PR:

  • Refactors indra_db.client into a directory of files. This has no effect on code due to the use of the __init__.py file, however makes navigating the code much easier.
  • Refactors some of the rest api endpoints to be more navigable and consistent.
  • Fixes some instances of 80-character lines that should be 79 character lines.

@bgyori
Copy link
Member

bgyori commented Oct 29, 2018

Nice!

@pagreene
Copy link
Collaborator Author

It's not clear to me why the Travis tests are getting import errors. It works locally. I'll investigate deeper tomorrow.

@pagreene pagreene merged commit 5540c7d into gyorilab:master Oct 30, 2018
@pagreene pagreene deleted the curation-db branch November 13, 2018 14:33
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

Successfully merging this pull request may close these issues.

2 participants