From 0f1c52ce95834efcb50604a1d2b78ce707d7a4fd Mon Sep 17 00:00:00 2001
From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr>
Date: Mon, 25 Mar 2024 17:17:24 +0100
Subject: [PATCH] Changement des noms de colonnes pour les relations

---
 1-enrich-with-datacite/concatenate-enrich-dois.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/1-enrich-with-datacite/concatenate-enrich-dois.py b/1-enrich-with-datacite/concatenate-enrich-dois.py
index 915d88c..c5e2c5f 100644
--- a/1-enrich-with-datacite/concatenate-enrich-dois.py
+++ b/1-enrich-with-datacite/concatenate-enrich-dois.py
@@ -62,8 +62,8 @@ if temp_rows :
 		if result[0] is in df_old["doi"]: df_fresh.drop(df_fresh.index[i])
 		else:
 			df_fresh.loc[df_fresh.index[i], "doi"] = result[0]
-			df_fresh.loc[df_fresh.index[i], "versionCount"] = result[1]
-			df_fresh.loc[df_fresh.index[i], "citationCount"] = result[2]
+			df_fresh.loc[df_fresh.index[i], "relation_nbInstances"] = result[1]
+			df_fresh.loc[df_fresh.index[i], "relation_nbCitation"] = result[2]
 
 	df_concat = pd.concat([df_old, df_fresh], ignore_index=True)
 
-- 
GitLab