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 e0350dc commit 838f333
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 @@ -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:
Expand Down

0 comments on commit 838f333

Please sign in to comment.