Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Russell Jarvis
ScienceAccess
Commits
fd6963e1
Commit
fd6963e1
authored
Dec 25, 2021
by
Russell Jarvis
💬
Browse files
update app
parent
1eb3ed16
Pipeline
#1601
failed with stages
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app.py
View file @
fd6963e1
...
...
@@ -163,12 +163,12 @@ def check_cache(author_name: str, verbose=0):
scraped_labels
,
author_score
=
frame_to_lists
(
ar
)
if
len
(
db
.
keys
())
<
11
:
db
[
author_name
]
=
{
"ar"
:
ar
,
"scraped_labels"
:
scraped_labels
,
"author_score"
:
author_score
,
}
#
if len(db.keys()) < 11:
#
db[author_name] = {
#
"ar": ar,
#
"scraped_labels": scraped_labels,
#
"author_score": author_score,
#
}
except
:
aliases
=
semantic_scholar_alias
(
author_name
)
st
.
warning
(
"Name as typed not found in semantic scholar API, so checking dissemin..."
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment