From 97f4ff1ad006b620b0594a78ac96cc25902eca85 Mon Sep 17 00:00:00 2001 From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr> Date: Fri, 23 Feb 2024 14:47:49 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9glage=20de=20l'indentation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-enrich-with-datacite/concatenate-enrich-dois.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/1-enrich-with-datacite/concatenate-enrich-dois.py b/1-enrich-with-datacite/concatenate-enrich-dois.py index 2f4e4b5..bf21c95 100644 --- a/1-enrich-with-datacite/concatenate-enrich-dois.py +++ b/1-enrich-with-datacite/concatenate-enrich-dois.py @@ -59,9 +59,9 @@ if temp_rows : ## remove not wanted datacite type type_to_explude = ["Book", "ConferencePaper", "ConferenceProceeding", "JournalArticle", "BookChapter", "Service", "Preprint"] - df_out = df_concat[ ~df_concat["resourceTypeGeneral"].isin(type_to_explude) ].copy() - - ## output main CSV + df_out = df_concat[ ~df_concat["resourceTypeGeneral"].isin(type_to_explude) ].copy() + + ## output main CSV df_out.to_csv("../dois-uga.csv", index = False) print(f"\n\nnb of doi exported \t{len(df_out)}") -- GitLab