Skip to content

Commit

Permalink
Upgrade to biothings 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed Jul 8, 2020
1 parent 3a1c63b commit 639f513
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements_web.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# biothings
biothings[web_extra]==0.7.0
biothings[web_extra]==0.8.0

#Optional
raven
2 changes: 1 addition & 1 deletion src/tests/test_6_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def test_650_others(self):
res = self.request("gene/1246509").json()
assert "other_names" not in res
# query by other_names:
res = self.request("query?q=other_names:p33&size=50").json()
res = self.request("query?q=other_names:p33&size=100").json()
assert res["total"] > 30 # currently 35...
# assert len(res["hits"]) == 10
ids = [h["_id"] for h in res["hits"]]
Expand Down
2 changes: 1 addition & 1 deletion src/web/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class MygeneSourceHandler(MetadataSourceHandler):
"""
def extras(self, _meta):

appdir = self.web_settings.get_git_repo_path()
appdir = self.web_settings.devinfo.get_git_repo_path()
commit = get_software_info(appdir).get('commit-hash', '')

_meta['available_fields'] = 'http://mygene.info/metadata/fields'
Expand Down

0 comments on commit 639f513

Please sign in to comment.