nextstrain / docs.nextstrain.org

Umbrella documentation project for Nextstrain
https://docs.nextstrain.org
17 stars 13 forks source link

Snakemake style guide: Add another way of accessing config values #170

Closed victorlin closed 8 months ago

victorlin commented 8 months ago

Description of proposed changes

Checking presence of a key in the config should be done with the membership operator. This must be done otherwise false-y values will stay false when membership is checked with config.get.

Related issue(s)

Checklist

victorlin commented 8 months ago

Merging this small change. Open to reverting if anyone feels it's unnecessary.