diff --git a/emgapianns/management/lib/create_or_update_study.py b/emgapianns/management/lib/create_or_update_study.py index eaf194f4c..7522f1beb 100644 --- a/emgapianns/management/lib/create_or_update_study.py +++ b/emgapianns/management/lib/create_or_update_study.py @@ -306,7 +306,7 @@ def check_if_study_is_public(self, study_id): return is_public def verify_study_ownership(self, study_id, submission_account_id): - url = f"{'https://www.ebi.ac.uk/ena/submit/report/studies'}/{study_id}" + url = f"https://www.ebi.ac.uk/ena/submit/report/studies/{study_id}" ena_api_password = EMG_CONF['emg']['ena_api_password'] if not ena_api_password: logging.warning("ENA API password is missing. Study ownership cannot be verified.")