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
b771e338
Commit
b771e338
authored
Dec 25, 2021
by
Russell Jarvis
💬
Browse files
update app
parent
9014203f
Changes
1
Hide whitespace changes
Inline
Side-by-side
app.py
View file @
b771e338
...
...
@@ -156,8 +156,8 @@ def check_cache(author_name: str, verbose=0):
aliases
=
semantic_scholar_alias
(
author_name
)
if
type
(
aliases
)
is
not
None
:
if
len
(
aliases
):
st
.
success
(
"Al
ternative name phrasing
found in semantic scholar API..."
)
st
.
success
(
"Also try one of these alternative name
phrasing
s: {0}"
.
format
(
aliases
))
st
.
success
(
"Al
iases
found in semantic scholar API..."
)
st
.
success
(
"Also try one of these alternative name
querie
s: {0}"
.
format
(
aliases
))
#author_name = aliases[0]
with
shelve
.
open
(
"data/fast_graphs_splash.p"
)
as
db
:
...
...
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