broadinstitute / genetic-prevalence-estimator

https://genie.broadinstitute.org/
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Fix updating of lists created before the inclusion of the high revel score flag #186

Closed rileyhgrant closed 5 months ago

rileyhgrant commented 5 months ago

Fixes a bug in which lists created before the option to include missense variants with a high revel score would be unable to update the list when adding more variants.

The background worker previously checked if the flag to include missense with high revel scores flags was true, thus if a list was created before this flag would added the code would throw a key error. This is a small update that adds a check first if the key exists, then if so if the key is set to True, to prevent the crash.