Skip to content

Commit

Permalink
Update emgapianns/management/lib/create_or_update_study.py
Browse files Browse the repository at this point in the history
Co-authored-by: Martín Beracochea <[email protected]>
  • Loading branch information
MGS-sails and mberacochea authored May 2, 2024
1 parent 838f333 commit 105b848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emgapianns/management/lib/create_or_update_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 105b848

Please sign in to comment.