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

Develop #83

Closed
wants to merge 38 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2d42467
:label: Add response model
JohnGiorgi Mar 11, 2021
b6c41e0
:white_check_mark: Update tests
JohnGiorgi Mar 11, 2021
8ab9f76
Merge pull request #62 from PathwayCommons/add-response-model
JohnGiorgi Mar 12, 2021
286b58f
ncbi updated from pubmed-dl
Anwesh1 Mar 12, 2021
bb98563
Add missing bio python depedency
JohnGiorgi Mar 16, 2021
2f35134
Hotfix of UID only requests
JohnGiorgi Mar 18, 2021
8b62c9a
:book: Document some wacky code
JohnGiorgi Mar 18, 2021
24a8161
Merge pull request #63 from PathwayCommons/ncbi_update
JohnGiorgi Mar 18, 2021
b9e4f35
:recycle: Replace validator with Field
JohnGiorgi Mar 23, 2021
456de19
:white_check_mark: Update tests
JohnGiorgi Mar 23, 2021
759c164
:label: Fix type checking
JohnGiorgi Mar 23, 2021
4feff2d
Merge pull request #66 from PathwayCommons/replace-top-k-validator-wi…
JohnGiorgi Mar 25, 2021
67d0f46
top_k fix with query
Anwesh1 Mar 26, 2021
3ebe577
:art: Black format codebase
JohnGiorgi Mar 29, 2021
99b05ab
:books: Document new top_k behaviour
JohnGiorgi Mar 29, 2021
ef1f28f
Merge pull request #71 from PathwayCommons/top_k_issue
Anwesh1 Mar 29, 2021
1d4bbc5
Moved validator code into main
Anwesh1 Mar 31, 2021
19efce9
Merge branch 'develop' into repeat_indexing
Anwesh1 Mar 31, 2021
869a1bb
:recycle: Don't fetch text if id is indexed
JohnGiorgi Mar 31, 2021
5c6ed38
:art: Black format the codebase
JohnGiorgi Mar 31, 2021
cfe76fc
:bug: Fix typo in uid
JohnGiorgi Mar 31, 2021
ea3ac77
Merge pull request #73 from PathwayCommons/repeat_indexing
JohnGiorgi Mar 31, 2021
3d3197b
:recycle: Update schema
JohnGiorgi Mar 25, 2021
498af21
:books: Update documentation to reflect new schema
JohnGiorgi Mar 25, 2021
de0ce46
:books: Add docstring description to search endpoint
JohnGiorgi Mar 25, 2021
320aa33
:label: Ignore the types
JohnGiorgi Apr 1, 2021
5a15277
Merge pull request #68 from PathwayCommons/update-schema
JohnGiorgi Apr 1, 2021
4fd6a0e
:construction_worker: Fix code cov upload
JohnGiorgi Apr 5, 2021
9f6d468
:books: Update codecov badge
JohnGiorgi Apr 5, 2021
49778bf
:construction_worker: Add develop branch to CI
JohnGiorgi Apr 5, 2021
f624a46
:construction_worker: Try fixing coverage upload again
JohnGiorgi Apr 5, 2021
cb2e433
Merge pull request #74 from PathwayCommons/fix-code-cov
JohnGiorgi Apr 5, 2021
b25050b
:recycle: Remove unused validator
JohnGiorgi Apr 8, 2021
a52492f
Merge pull request #76 from PathwayCommons/remove-unused-validator
JohnGiorgi Apr 9, 2021
58e634b
:books: Better docstring example
JohnGiorgi Apr 14, 2021
e212d74
:books: Don't code format JSON
JohnGiorgi Apr 14, 2021
3854080
Merge pull request #82 from PathwayCommons/better-readme-example
JohnGiorgi Apr 15, 2021
e9bb213
throw error when uid invalid
Anwesh1 Apr 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🏷️ Ignore the types
  • Loading branch information
JohnGiorgi committed Apr 1, 2021
commit 320aa3337ceef3faf68bc02c5c7d1705875b66c1
2 changes: 1 addition & 1 deletion semantic_search/common/util.py
Original file line number Diff line number Diff line change
@@ -123,4 +123,4 @@ def normalize_documents(pmids: List[str]) -> str:
normalized_docs = []
for doc in pmids:
normalized_docs.append(Document(**list(uids_to_docs([doc]))[0][0]))
return normalized_docs[0].text
return normalized_docs[0].text # type: ignore