spacemake icon indicating copy to clipboard operation
spacemake copied to clipboard

add/update_sample needs to validate --map_strategy

Open marvin-jens opened this issue 2 years ago • 0 comments

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.

marvin-jens avatar Dec 01 '22 22:12 marvin-jens