spacemake
spacemake copied to clipboard
add/update_sample needs to validate --map_strategy
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 the config.yaml
, this triggers a confusing KeyError
in mapping.smk
during spacemake run
.
Expected behavior: An exception should be thrown when adding or updating a sample with an invalid map_strategy.