Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make submission date optional #691

Merged
merged 1 commit into from
Aug 4, 2021
Merged

Make submission date optional #691

merged 1 commit into from
Aug 4, 2021

Conversation

jameshadfield
Copy link
Member

Metadata typically includes the 'submission_date' field, which was used
in two rules: diagnostic and recency. The latter rule proceeded
without error if the metadata field was missing (albeit producing
a non-useful output) but the former required the field to exist. This
has prevented people from running the pipeline
.

This commit allows the diagnostic step to proceed without the
'submission_date' field, printing a warning message instead.

Metadata typically includes the 'submission_date' field, which was used
in two rules: `diagnostic` and `recency`. The latter rule proceeded
without error if the metadata field was missing (albeit producing
a non-useful output) but the former required the field to exist. This
has prevented people from running the pipeline [1].

This commit allows the diagnostic step to proceed without the
'submission_date' field, printing a warning message instead.

[1] https://discussion.nextstrain.org/t/error-in-main-workflow-smk-file-in-latency-wait/616
@huddlej huddlej mentioned this pull request Aug 4, 2021
2 tasks
Copy link
Contributor

@huddlej huddlej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just experienced this issue, too! This looks good to me.

@huddlej huddlej merged commit 29c0937 into master Aug 4, 2021
@huddlej huddlej deleted the optional-submission-date branch August 4, 2021 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants