From 838f33306bd3b20db076575b031808aa6150f98b Mon Sep 17 00:00:00 2001 From: Mahfouz Shehu Date: Thu, 2 May 2024 09:19:23 +0100 Subject: [PATCH] Update emgapianns/management/lib/create_or_update_study.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martín Beracochea --- emgapianns/management/lib/create_or_update_study.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emgapianns/management/lib/create_or_update_study.py b/emgapianns/management/lib/create_or_update_study.py index 3cbc71e9c..eaf194f4c 100644 --- a/emgapianns/management/lib/create_or_update_study.py +++ b/emgapianns/management/lib/create_or_update_study.py @@ -168,7 +168,7 @@ def _update_or_create_study_from_db_result( hold_date = ena_study.hold_date ena_api_password = EMG_CONF['emg']['ena_api_password'] if ena_api_password is None: - logging.warning("ENA API password is missing. Study ownership cannot be verified.") + logging.error(f"ENA API password is missing. Study {secondary_study_accession} ownership cannot be verified.") try: study_is_public = self.check_if_study_is_public(secondary_study_accession) if study_is_public: