Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dropping table didn't commit
  • Loading branch information
proost committed Jan 10, 2018
1 parent 23f8b15 commit d23892e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conekt/models/gene_families.py
Expand Up @@ -44,6 +44,7 @@ def __str__(self):
def drop_all_annotation():
try:
FamilyInterproAssociation.query.delete()
FamilyGOAssociation.query.delete()
db.session.commit()
except Exception as e:
db.session.rollback()
Expand Down

0 comments on commit d23892e

Please sign in to comment.