From 2f58b4d9989cd319cca86b24edcc6eaa45a49c7b Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Wed, 22 Apr 2020 08:24:16 -0500 Subject: minor ui tweaks --- server.py | 10 +++++----- templates/signin.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server.py b/server.py index fd1285b..c61ca5a 100755 --- a/server.py +++ b/server.py @@ -447,7 +447,7 @@ def tableview(): gene_name=gene_name.replace("'","") gene_name = gene_name+added num_gene = gene_name.count(',')+1 - message3=" Notes:
  • Click on the abstract count to read sentences linking the keyword and the gene.
  • Click on a gene to search its relations with top 200 addiction genes.
  • Click on a keyword to see the terms included in the search.
  • View the results in a graph." + message3=" Actions:
  • Click on the abstract count to read sentences linking the keyword and the gene.
  • Click on a gene to search its relations with top 200 addiction genes.
  • Click on a keyword to see the terms included in the search.
  • View the results in a graph." return render_template('tableview.html', nodata_temp=nodata_temp, num_gene=num_gene,session_path = session['path'], jedges=jedges, jnodes=jnodes,gene_name=gene_name, message3=message3) @app.route("/tableview0") @@ -506,7 +506,7 @@ def userarchive(): filename=filename[0:4]+"-"+filename[5:7]+"-"+filename[8:13]+":"+filename[14:16]+":"+filename[17:19] directory_list.append(filename) len_dir = len(directory_list) - message3=" Note:
  • Click on the Date/Time to view archived results.
  • The Date/Time are based on US Central time zone. " + message3=" Actions:
  • Click on the Date/Time to view archived results.
  • The Date/Time are based on US Central time zone. " return render_template('userarchive.html', len_dir=len_dir, gene_list = gene_list, folder_list=folder_list, directory_list=directory_list, session_id=session_id, message3=message3) # delete this search @@ -575,12 +575,12 @@ def date(): for i in range(0,num_gene): gene_list.append(gene_name1.split(',')[i]) session['query'] = gene_list - message3=" Notes:
  • Click on the keywords to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node will hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a graph." + message3=" Actions:
  • Click on the keywords to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a graph." return render_template('tableview.html', title='',nodata_temp=nodata_temp, date=select_date, num_gene=num_gene,session_path = session['path'], jedges=jedges, jnodes=jnodes,gene_name=gene_name, message3=message3) @app.route('/cytoscape') def cytoscape(): - message2=" Notes:
  • Click on a line to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node will hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a table. " + message2=" Notes:
  • Click on a line to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a table. " with open(session['path']+"_cy","r") as f: elements=f.read() with open(session['path']+"_0link","r") as z: @@ -616,7 +616,7 @@ def sentences(): out_pos = "" out_neg = "" num_abstract = 0 - stress_cellular = "


    "+"Sentence(s) describing celluar stress (classified using a deep learning model):
    " + stress_cellular = "


    "+"Sentence(s) describing celluar stress (classified using a deep learning model):
      " stress_systemic = "Sentence(s) describing systemic stress (classified using a deep learning model):
      " with open(tf_name, "r") as df: all_sents=df.read() diff --git a/templates/signin.html b/templates/signin.html index cf5f486..99c0d75 100644 --- a/templates/signin.html +++ b/templates/signin.html @@ -23,7 +23,7 @@ - If you forgot your password, you can send email us to get a new one. Please use your e-mail in the system. You can send to hakan@uthsc.edu + Please make sure you backup your password. To ensure security, your actual password is not saved in our database. Thus we have limited ability to reset your password. If you need to recovery your account, please contact us. We'll need the email address you used to create the account. @@ -32,4 +32,4 @@ -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.2.3