-
Notifications
You must be signed in to change notification settings - Fork 11
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
add/update_sample needs to validate --map_strategy #54
Comments
We could use the |
Hi Daniel, just to let you know, during fixing #88 on fast-cmdline I've noticed that your commits introduced errors. |
This being said, I kept your changes functionally intact. Will now create a branch to add a cmdline test to ensure that add/update_sample indeed validates and then close the issue as well. |
Currently, no validation of the
map_strategy
string is performed when adding or updating a sample. If a reference is used that does not exist in theconfig.yaml
, this triggers a confusingKeyError
inmapping.smk
duringspacemake run
.Expected behavior: An exception should be thrown when adding or updating a sample with an invalid map_strategy.
The text was updated successfully, but these errors were encountered: