rbbt-rest 1.8.136 → 1.8.137
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/common/cache.rb +2 -1
- data/lib/rbbt/rest/common/misc.rb +6 -1
- data/lib/rbbt/rest/common/render.rb +3 -2
- data/lib/rbbt/rest/common/table.rb +1 -1
- data/share/views/compass/misc.sass +13 -0
- data/share/views/entity_partials/entity_map_card.haml +5 -5
- data/share/views/tools/nvd3/chart.haml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260f3dfac0e66e1895ed7aea67d5a07e91b4e3b47f009278b36eee79e419107e
|
4
|
+
data.tar.gz: 74d2cb800b8c8f72a2fcfccb5e16386c051e1474029de057d2f81a817f009518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987251d8d2d028fabdd77337bb25c34219361f77087b0d60b6210fbbd2b9c7c7ec724fd377d7a5baf887b1f2512f5138314718df72419e2986df5975e0381940
|
7
|
+
data.tar.gz: e18031687205f914cc169b42472edbf9c237b9e3d0747bb8517027584ca2d26e41f4ec6203ec96c5a62b5483f16e2c81415a22648bfd2eeee76af6fa0fadaf2d
|
@@ -59,8 +59,13 @@ module RbbtRESTHelpers
|
|
59
59
|
@ajax = request.xhr?
|
60
60
|
@ajax_url = headers["AJAX-URL"]
|
61
61
|
|
62
|
-
@fullpath = request.fullpath
|
63
62
|
@uri = request.env["REQUEST_URI"]
|
63
|
+
@path = request.env["PATH_INFO"]
|
64
|
+
@query = request.env["QUERY_STRING"]
|
65
|
+
|
66
|
+
#@fullpath = request.fullpath
|
67
|
+
@fullpath = (@query && ! @query.empty?) ? @path + "?" + @query : @path
|
68
|
+
@fullpath = remove_GET_param(@fullpath, ["_update", "_"])
|
64
69
|
|
65
70
|
@layout = consume_parameter(:_layout)
|
66
71
|
|
@@ -166,9 +166,10 @@ module RbbtRESTHelpers
|
|
166
166
|
}
|
167
167
|
Open.write(pid_file, pid.to_s)
|
168
168
|
|
169
|
-
url = @
|
169
|
+
url = @fullpath
|
170
170
|
url = remove_GET_param(url, "_update")
|
171
171
|
url = remove_GET_param(url, "_")
|
172
|
+
|
172
173
|
fragment_url = add_GET_param(url, "_fragment", fragment_code)
|
173
174
|
if link.nil?
|
174
175
|
html_tag('a', "", :href => fragment_url, :class => 'fragment', "data-text" => text)
|
@@ -226,7 +227,7 @@ module RbbtRESTHelpers
|
|
226
227
|
filename = Misc.sanitize_filename(Misc.name2basename(filename))
|
227
228
|
|
228
229
|
if @step
|
229
|
-
url = add_GET_param(remove_GET_param(@
|
230
|
+
url = add_GET_param(remove_GET_param(@fullpath, ["_update", "_"]), "_fragment", "html_resources/#{ filename }")
|
230
231
|
f = @step.file(:html_resources)[filename].find
|
231
232
|
else
|
232
233
|
url = "/files/#{ filename }"
|
@@ -402,7 +402,7 @@ module RbbtRESTHelpers
|
|
402
402
|
if @step
|
403
403
|
table_file = @step.file(table_code) if @step
|
404
404
|
|
405
|
-
url = add_GET_param(@
|
405
|
+
url = add_GET_param(@fullpath, "_fragment", File.basename(table_file))
|
406
406
|
url = remove_GET_param(url, "_update")
|
407
407
|
url = remove_GET_param(url, "_layout")
|
408
408
|
url = remove_GET_param(url, "_")
|
@@ -278,3 +278,16 @@ ul.tasks
|
|
278
278
|
|
279
279
|
.table > .table_url
|
280
280
|
display: none
|
281
|
+
|
282
|
+
dl.flex_dl
|
283
|
+
display: flex
|
284
|
+
flex-flow: row wrap
|
285
|
+
& > dt
|
286
|
+
flex-basis: 20%
|
287
|
+
text-align: right
|
288
|
+
padding-right: 2em
|
289
|
+
& > dd
|
290
|
+
flex-basis: 80%
|
291
|
+
flex-grow: 1
|
292
|
+
margin: 0
|
293
|
+
|
@@ -21,7 +21,7 @@
|
|
21
21
|
%input(type='submit')
|
22
22
|
|
23
23
|
- if (%w(pvalue p.value p-value pvalues p.values p-values qvalue q.value q-value qvalues q.values q-values) & map.fields.first.downcase.split(/\s+/)).any? and map.fields.first.downcase !~ /score$/
|
24
|
-
- url = add_GET_param(@
|
24
|
+
- url = add_GET_param(@fullpath, '_format', 'pvalue_score')
|
25
25
|
%a.ui.small.button(href=url) Pvalue score
|
26
26
|
|
27
27
|
= reveal "QQ-plot", nil, :class => 'ui small button plot' do
|
@@ -56,16 +56,16 @@
|
|
56
56
|
|
57
57
|
- if Gene == Entity.formats[map.key_field]
|
58
58
|
- if map.key_field != "Ensembl Gene ID"
|
59
|
-
- url = add_GET_param(@
|
59
|
+
- url = add_GET_param(@fullpath, '_format', 'ensembl')
|
60
60
|
%a.ensembl.ui.small.button(href=url) Ensembl
|
61
61
|
- if map.key_field != "Associated Gene Name"
|
62
|
-
- url = add_GET_param(@
|
62
|
+
- url = add_GET_param(@fullpath, '_format', 'name')
|
63
63
|
%a.name.ui.small.button(href=url) Name
|
64
64
|
- if "Rank" == map.fields.first
|
65
|
-
- url = add_GET_param(@
|
65
|
+
- url = add_GET_param(@fullpath, '_format', 'invert_ranks')
|
66
66
|
%a.invert_ranks.ui.small.button(href=url) Invert ranks
|
67
67
|
- else
|
68
|
-
- url = add_GET_param(@
|
68
|
+
- url = add_GET_param(@fullpath, '_format', 'ranks')
|
69
69
|
%a.ranks.ui.small.button(href=url) Ranks
|
70
70
|
- if NumericValue == Entity.formats[map.fields.first] or (map.entity_templates[map.fields.first] and map.entity_templates[map.fields.first].annotation_types.include? NumericValue)
|
71
71
|
- $page_entity_base_type = page_entity_base_type
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.137
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|