def setup_app(): setup_app(app)
from queries.associate import link_paper, get_ref_summary, \ check_form_validity_and_convert_to_tasks from queries.misc import get_reftemps, get_recent_history, \ find_genes_in_abstract from queries.move_ref import move_reftemp_to_refbad, MoveRefException from webapp.forms import LoginForm from webapp.litreview_logger import log_it_info, log_it from webapp.login_handler import confirm_login_lit_review_user, \ logout_lit_review_user, login_lit_review_user, setup_app, LoginException, \ LogoutException, check_for_other_users import json import logging app = Flask(__name__) setup_app(app) model = None #Configure logger logging.basicConfig(filename='litreview_log',#/www/logs/litreview_log', format='%(asctime)s %(levelname)s: %(message)s', level=logging.DEBUG) def setup_app(): setup_app(app) @app.route("/") def index(): labels = [] data = [] try: