Skip to content

Add dump_and_validate() config helper function - #85

Open
victorlin wants to merge 1 commit into
mainfrom
victorlin/dump_and_validate
Open

Add dump_and_validate() config helper function#85
victorlin wants to merge 1 commit into
mainfrom
victorlin/dump_and_validate

Conversation

@victorlin

Copy link
Copy Markdown
Member

Description of proposed changes

Copied from rsv repo which was copied from measles repo.¹ Adding it here to manage the function in a central location.

I've included a comment to note the loosely coupled handling of "custom_rules". Given that "custom_rules" is implemented the same way in most (all?) downstream workflows, I think fine to add this for the sake of avoiding duplicate code.

¹ https://github.com/nextstrain/rsv/blob/148dad4c7369a223a33a47f60687f6a213d8937d/workflow/snakemake_rules/config.smk#L19-L40

Related issue(s)

nextstrain/public#46

Checklist

  • Checks pass
  • If adding a script, add an entry for it in the README.
  • Post-merge: update measles and rsv repos to use shared function

Copied from rsv repo which was copied from measles repo.¹ Adding it here
to manage the function in a central location.

I've included a comment to note the loosely coupled handling of
"custom_rules". Given that "custom_rules" is implemented the same way in
most (all?) downstream workflows, I think fine to add this for the sake
of avoiding duplicate code.

¹ https://github.com/nextstrain/rsv/blob/148dad4c7369a223a33a47f60687f6a213d8937d/workflow/snakemake_rules/config.smk#L19-L40
@victorlin victorlin self-assigned this Sep 8, 2026
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