Skip to content

Commit

Permalink
Revert testing changes: only send notifications if sequences to submi…
Browse files Browse the repository at this point in the history
…t are found.
  • Loading branch information
anna-parker committed Aug 7, 2024
1 parent 1f9500b commit 7d32868
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ena-submission/scripts/get_ena_submission_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def send_slack_notification(config: Config, output_file: str):
slack_token_default=config.slack_token,
slack_channel_id_default=config.slack_channel_id,
)
logging.info(os.getenv("SLACK_HOOK"))
if not slack_config.slack_hook:
logging.info("Could not find slack hook cannot send message")

Expand Down Expand Up @@ -144,7 +143,6 @@ def get_ena_submission_list(log_level, config_file, output_file):
else:
logging.info("No sequences found to submit to ENA")
Path(output_file).write_text("")
send_slack_notification(config, output_file)


if __name__ == "__main__":
Expand Down

0 comments on commit 7d32868

Please sign in to comment.