filterconfig callertype schema doesn't catch miscased values
Background
When loading an analysis, the caller type set in the filter config is checked against the database enum of ['cnv', 'snv']
(callertypefilter.py). However, filter.callertype = ["CNV"]
passes filterconfig JSON validation (deposit_filterconfigs.py).
This causes viewing analyses to break.
Implementation
-
make callerType
and its checks case insensitive
and/or
-
catch invalid value during schema validation
Edited by Tor Solli-Nowlan