nextstrain / forecasts-ncov

SARS-CoV-2 variant growth rates and frequency forecasts
https://nextstrain.org/sars-cov-2/forecasts/
7 stars 2 forks source link

Send Slack notifications for clades without definition #74

Open joverlee521 opened 9 months ago

joverlee521 commented 9 months ago

Context

As noted in https://github.com/nextstrain/forecasts-ncov/pull/73, it may be helpful to have internal notifications of clades that lack clade definitions in our configs. This can serve as a reminder to us to add these clade definitions.

Possible solution

We previously had Slack notifications for clade-without-variant that has since been removed from the pipeline.

Our prepare-data script had an --output-clade-without-variant option that would emit a list of clades to a file. Then we had a Snakemake rule that calls on a custom notify script that will only send the Slack notification if the file was not empty.