From a994f0b76472c6237f754ba2a75efe6bfd8a1134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Romero=20Organv=C3=ADdez?= Date: Thu, 1 Feb 2024 16:49:30 +0100 Subject: [PATCH] fix: Fix bug in keyword no default present value --- app/zenodo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/zenodo.py b/app/zenodo.py index 33f7a8bea..86cd45bb9 100644 --- a/app/zenodo.py +++ b/app/zenodo.py @@ -126,7 +126,7 @@ def zenodo_create_new_deposition(dataset: DataSet) -> dict: **({'affiliation': author.affiliation} if author.affiliation else {}), **({'orcid': author.orcid} if author.orcid else {}) } for author in dataset.ds_meta_data.authors], - 'keywords': dataset.ds_meta_data.tags.split(", "), + 'keywords': ["uvlhub"] if not dataset.ds_meta_data.tags else dataset.ds_meta_data.tags.split(", ") + ["uvlhub"], 'access_right': 'open', 'license': 'CC-BY-4.0' }