Skip to content
Snippets Groups Projects
Commit faab82d4 authored by basdorea's avatar basdorea
Browse files

add method correspondance_SJR_HAL

parent 3b404d3f
Branches master
No related tags found
No related merge requests found
......@@ -44,6 +44,16 @@ def delete_file(download_file):
if os.path.isfile(download_file):
os.remove(download_file)
def correspondance_SJR_HAL(sjr_journal) :
"""
As HAL has not exactly the same name of journals than SJR, some modifs are put on the CSV files extracted form Scimago
"""
equivhal_journal = sjr_journal
equivhal_journal = equivhal_journal.replace('Journal of Experimental Algorithmics','ACM Journal of Experimental Algorithmics')
equivhal_journal = equivhal_journal.replace('Concurrency and Computation Practice and Experience','Concurrency and Computation: Practice and Experience')
equivhal_journal = equivhal_journal.replace('4OR','4OR: A Quarterly Journal of Operations Research')
return equivhal_journal
# Creation des fichiers SCIMago contenant titre des journaux et notes pour les 3 domaines : computer science, math, et engineering
# Lecture 3 CSV telecharge de la meme annee envoyes en parametres
......@@ -59,6 +69,7 @@ def create_csv_scimago(csvsci, new_csv) :
title = str(row[2])
#print ("MY TITLE = ",title)
title = title.replace('"','')
title = correspondance_SJR_HAL(title)
try :
if (row[6] == "Q1") or (row[6] == "Q2") or (row[6] == "Q3") or (row[6] == "Q4") :
list_sci_com.append((title,str(row[6])))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment