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

config validation #5

Open
aryarm opened this issue Jul 15, 2020 · 0 comments
Open

config validation #5

aryarm opened this issue Jul 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@aryarm
Copy link
Member

aryarm commented Jul 15, 2020

There are a lot of config options and it might be hard for a user to know how to fill them, despite the comments in the config file. It would be great if we could validate the config file that the user provides.

Snakemake lets us use JSON schemas to do this, but I think we'll need something a lot more robust, especially if JSON schemas don't allow us to conditionally require options based on other options.

Perhaps the best way to proceed would be to create a validation python module that uses argparse or something similar? We could import that module in the Snakefiles.

@aryarm aryarm added the enhancement New feature or request label Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant