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

Allow config overrides #19

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Allow config overrides #19

merged 1 commit into from
Apr 27, 2024

Conversation

jameshadfield
Copy link
Member

@jameshadfield jameshadfield commented Apr 25, 2024

Allow config overrides for common variables. Extremely useful for running test builds locally¹ or for running select builds on AWS.

This would be cleaner if we were to do it in a config.yaml or similar, but I didn't chose this approach as I wanted to preserve familiarity while the repo is seeing a lot of changes.

¹ example command: snakemake --cores 1 -pf --config 'subtypes=["h5n1"]' 'same_strains_per_segment=True' 'time=2y' 'n_seqs=50'

Base automatically changed from james/same-strains-per-segment to master April 25, 2024 22:01
for common variables. Extremely useful for running test builds locally¹
or for running select builds on AWS,.

This would be cleaner if we were to do it in a config.yaml or similar,
but it's here to preserve familiarity while the repo is seeing a lot of
changes.

¹ example command: `snakemake --cores 1 -pf --config 'subtypes=["h5n1"]' 'same_strains_per_segment=True' 'time=2y' 'n_seqs=50'`
@jameshadfield jameshadfield force-pushed the james/config-overrides branch from cc03877 to 6ab7727 Compare April 25, 2024 22:16
@trvrb
Copy link
Member

trvrb commented Apr 27, 2024

This is incredibly handy. Thank you so much @jameshadfield!

@trvrb trvrb merged commit e3cf09a into master Apr 27, 2024
6 checks passed
@trvrb trvrb deleted the james/config-overrides branch April 27, 2024 23:54
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