aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorZachary Sloan2015-03-17 18:07:39 +0000
committerZachary Sloan2015-03-17 18:07:39 +0000
commitb4ce1da2b8a376472ed87b80b97ef7ce1b3d9314 (patch)
tree7e2b4f3b6bd4622f7e362023b451dda6877028c4 /wqflask
parent4852779011acb075e97e22f25db4fa7373ec1c73 (diff)
downloadgenenetwork2-b4ce1da2b8a376472ed87b80b97ef7ce1b3d9314.tar.gz
Moved scatter-plot to the right of options instead of below
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/do_search.py11
-rw-r--r--wqflask/wqflask/static/new/javascript/scatter-matrix.js2
2 files changed, 11 insertions, 2 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index 31dc11b5..921a4a47 100755
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -382,11 +382,20 @@ class RifSearch(MrnaAssaySearch):
DoSearch.search_types['RIF'] = "RifSearch"
- def run(self):
+ def get_where_clause(self):
where_clause = """( %s.symbol = GeneRIF_BASIC.symbol and
MATCH (GeneRIF_BASIC.comment)
AGAINST ('+%s' IN BOOLEAN MODE)) """ % (self.dataset.type, self.search_term[0])
+ return where_clause
+
+ def run(self):
+ #where_clause = """( %s.symbol = GeneRIF_BASIC.symbol and
+ # MATCH (GeneRIF_BASIC.comment)
+ # AGAINST ('+%s' IN BOOLEAN MODE)) """ % (self.dataset.type, self.search_term[0])
+
+ where_clause = self.get_where_clause()
+
from_clause = ", GeneRIF_BASIC "
query = self.compile_final_query(from_clause, where_clause)
diff --git a/wqflask/wqflask/static/new/javascript/scatter-matrix.js b/wqflask/wqflask/static/new/javascript/scatter-matrix.js
index 38cdc75b..15385b00 100644
--- a/wqflask/wqflask/static/new/javascript/scatter-matrix.js
+++ b/wqflask/wqflask/static/new/javascript/scatter-matrix.js
@@ -57,7 +57,7 @@ ScatterMatrix.prototype.render = function () {
.attr('class', 'scatter-matrix-container');
var control = container.append('div')
.attr('class', 'scatter-matrix-control')
- .style({'float':'left'})
+ .style({'float':'left', 'margin-right':'50px'})
var svg = container.append('div')
.attr('class', 'scatter-matrix-svg')
.style({'float':'right'})