Skip to content

Commit

Permalink
Add missing comment dir setting (cmbi#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonblack authored Nov 25, 2016
1 parent d3601c1 commit 4e7932a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions whynot/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# URLs
URL_WWPDB = 'http://ftp.wwpdb.org/pub/pdb/derived_data/pdb_entry_type.txt'

# Paths
WHYNOT_COMMENTS_DIR = '/srv/data/whynot2/comment'

# Databanks
#
# TODO: describe fields here
Expand Down
2 changes: 2 additions & 0 deletions whynot/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def annotate_from_comments():
annotator = CommentFileAnnotator(config.WHYNOT_COMMENTS_DIR)
annotator.annotate()

_log.info("Finished annotating databanks from comments")


@scheduler.scheduled_job('cron', hour=0, minute=0)
def update():
Expand Down

0 comments on commit 4e7932a

Please sign in to comment.