From 2c88a76f4e9200b673514f476a034d42aeaa8491 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Tue, 20 May 2025 13:52:49 +0200 Subject: [PATCH] Fix missing affiliation in Person class output --- doi2dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doi2dataset.py b/doi2dataset.py index 9cbd676..f53e5e2 100755 --- a/doi2dataset.py +++ b/doi2dataset.py @@ -352,7 +352,7 @@ class Person: else: return_dict["affiliation"] = "" else: - return_dict["affiliation"] = "" + return_dict["affiliation"] = self.affiliation if self.affiliation else "" return return_dict