From 2842a5a53bb338994c8eb4c1e9892e9cc15b5791 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 5 Nov 2024 13:03:13 +0100 Subject: [PATCH] new corrections --- mardi_importer/mardi_importer/zbmath/ZBMathAuthor.py | 2 +- mardi_importer/mardi_importer/zbmath/ZBMathSource.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mardi_importer/mardi_importer/zbmath/ZBMathAuthor.py b/mardi_importer/mardi_importer/zbmath/ZBMathAuthor.py index b70123d..9ffaddd 100644 --- a/mardi_importer/mardi_importer/zbmath/ZBMathAuthor.py +++ b/mardi_importer/mardi_importer/zbmath/ZBMathAuthor.py @@ -25,8 +25,8 @@ def __init__(self, integrator, name, zbmath_author_id, label_id_dict,): self.name = None self.QID = None self.zbmath_author_id = zbmath_author_id.strip() - self.item = self.init_item() self.label_id_dict = label_id_dict + self.item = self.init_item() def init_item(self): item = self.api.item.new() diff --git a/mardi_importer/mardi_importer/zbmath/ZBMathSource.py b/mardi_importer/mardi_importer/zbmath/ZBMathSource.py index 457f64d..9ac7520 100644 --- a/mardi_importer/mardi_importer/zbmath/ZBMathSource.py +++ b/mardi_importer/mardi_importer/zbmath/ZBMathSource.py @@ -498,6 +498,7 @@ def push(self): integrator=self.integrator, name=a, zbmath_author_id=a_id, + label_id_dict=self.label_id_dict, ) local_author_id = author.create() except Exception as e: