diff options
author | Munyoki Kilyungi | 2022-09-01 16:00:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-05 12:20:19 +0300 |
commit | 1551c890f652ddf2cd9ca260b84765e4ccde2318 (patch) | |
tree | e15029ef95f2c98f25e9977b14ebdb8fbbca5fc3 /wqflask/tests | |
parent | e0176f3e0378c4c7dbf31f7dd209001139bc6744 (diff) | |
download | genenetwork2-1551c890f652ddf2cd9ca260b84765e4ccde2318.tar.gz |
Replace "assert" with ValueError
* wqflask/wqflask/api/mapping.py (do_mapping_for_api): Raise a
ValueError if 'db' and 'trait_id' or not present in 'start_vars'
instead of doing an "assert".
Diffstat (limited to 'wqflask/tests')
0 files changed, 0 insertions, 0 deletions