Skip to content
Snippets Groups Projects
Commit c260acea authored by Georges Da Costa's avatar Georges Da Costa
Browse files

Removes deprecated messages

parent 21248554
Branches
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ import pandas as pd
import argparse
import re
import shutil
from io import StringIO
from get_rankings.hash_cache import load_hash_caches, save_hash_caches, default_cache
from get_rankings.tools import levenshtein, download, get_in_ordered_list
......@@ -82,7 +83,7 @@ def get_core_rank(name, year):
table = cc_soup.find_all("table")
if len(table) == 0:
return None
df = pd.read_html(str(table))[0]
df = pd.read_html(StringIO(str(table)))[0]
for index, row in df.iterrows():
# print(name, year, ' ', row.Title, row.Acronym, row.Rank)
......@@ -155,7 +156,7 @@ class Sjr:
if len(table) == 0:
return []
df = pd.read_html(str(table))[0]
df = pd.read_html(StringIO(str(table)))[0]
if "Quartile" in df:
df["Rank"] = [int(val[1]) for val in df.Quartile]
else:
......
......@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="get_rankings",
version="0.9",
version="1.0",
author="Georges Da Costa",
author_email="georges.da-costa@irit.fr",
description="DBLP ranking using CORE Rank and SJR",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment