arq5x / gemini

a lightweight db framework for exploring genetic variation.
http://gemini.readthedocs.org
MIT License
318 stars 120 forks source link

give informative error message when trying to annotate database w/o write permissions #875

Closed jxchong closed 7 years ago

jxchong commented 7 years ago

If you run gemini annotate -f [...] on a database for which you don't have write permissions, it crashes with a bunch of sqlalchemy errors but doesn't show an informative error/warning that the problem is that the user lacks permission to edit the database.

brentp commented 7 years ago

I just pushed a fix for this. Thanks for reporting.