From d0443c6eeb5ab68a3a7803eddb9b1c3aadb17521 Mon Sep 17 00:00:00 2001
From: Dinko Ferencek <Dinko.Ferencek@cern.ch>
Date: Wed, 10 Apr 2024 17:49:37 +0200
Subject: [PATCH] disabled adding DOI link since CroRIS does it anyways

---
 configuration.py | 14 +++++++-------
 prepare_input.py |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/configuration.py b/configuration.py
index 0f15715..e9b6bbe 100644
--- a/configuration.py
+++ b/configuration.py
@@ -61,13 +61,13 @@ pub_common = {
     "recenzija": {
         "status": 900,
         "vrsta": 903
-    },
-    "poveznice": [
-        {
-            "url_vrsta": 990,
-            "url": "https://doi.org/"
-        }
-    ]
+    }#,
+    #"poveznice": [
+        #{
+            #"url_vrsta": 990,
+            #"url": "https://doi.org/"
+        #}
+    #]
 }
 # Institution template dictionary
 inst_dict = {
diff --git a/prepare_input.py b/prepare_input.py
index 90170a1..f1ca21e 100644
--- a/prepare_input.py
+++ b/prepare_input.py
@@ -245,7 +245,7 @@ def prepare_input(list_of_papers, output_file):
         _temp = {}
         _temp.update(copy.deepcopy(pub_common))
         _temp['doi']             = doi
-        _temp['poveznice'][0]['url'] += doi
+        #_temp['poveznice'][0]['url'] += doi
         _temp['autor_string']    = authors_string
         _temp['autori']    = autori
         if _collaboration:
-- 
GitLab