Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalmhjn committed Oct 18, 2023
1 parent c361b8e commit aade1ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ install:

lint:
pylint --disable=R,C scopuscaller/call_scopus.py
pylint --disable=R,C scopuscaller/call_semanticscholar.py

format:
black *.py
Expand Down
4 changes: 2 additions & 2 deletions scopuscaller/call_semanticscholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def fetch_articles_async(df):
try:
list_abstracts.append(content["abstract"])
list_topics.append(content["topics"])
except:
except Exception:
list_abstracts.append("None")
list_topics.append("None")

Expand Down Expand Up @@ -80,6 +80,6 @@ def get_abstracts(df):
df["topics"] = list_topics

# Print a message indicating that the process is complete
print(f"Done")
print("Done")

return df

0 comments on commit aade1ab

Please sign in to comment.