genevalidatorapp 2.1.5 → 2.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/lib/genevalidatorapp.rb +3 -3
- data/lib/genevalidatorapp/config.rb +1 -1
- data/lib/genevalidatorapp/version.rb +1 -1
- data/views/index.slim +1 -1
- data/views/layout.slim +3 -3
- data/views/results.slim +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8418c3c9dee132e90d299fe20bd89d9277c3d150239e85125943e8006304ac87
|
4
|
+
data.tar.gz: 75253df93dc21e167e51df4753f8e386feb55ff3b5291abde22508446f0e47ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9e0416c420e21395f8fc9011a41285861d5d35d315145396e5f917b397c4b66033bf81871f4a1942985848aae43845ae4694482fa4e5e137be4bb22b74e67d3
|
7
|
+
data.tar.gz: 55531e71551cf3417219588f5c2ab2b8a398a212a597065c175952fd31081ee9ea75cbb563d1685f26d776c7dea02f6d9d2685aac204a543762fd134db4d22b8
|
data/.travis.yml
CHANGED
@@ -16,6 +16,4 @@ before_install:
|
|
16
16
|
- curl -L --fail https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz | tar -xzf - --strip-components=1 -C dependencies/blast
|
17
17
|
- BLAST_BIN="$PWD/dependencies/blast/bin"
|
18
18
|
- export PATH=${MAFFT_DIR}/bin:${BLAST_BIN}:$PATH
|
19
|
-
# add GV as a dependency
|
20
|
-
- echo "gem 'genevalidator'" >> Gemfile
|
21
19
|
script: bundle exec rake test
|
data/lib/genevalidatorapp.rb
CHANGED
@@ -95,9 +95,9 @@ module GeneValidatorApp
|
|
95
95
|
private
|
96
96
|
|
97
97
|
def init_dirs
|
98
|
-
config[:
|
99
|
-
unique_start_id
|
100
|
-
@public_dir = File.join(config[:
|
98
|
+
config[:serve_public_dir] = File.expand_path(config[:serve_public_dir])
|
99
|
+
unique_start_id = 'GV_' + Time.now.strftime('%Y%m%d-%H-%M-%S').to_s
|
100
|
+
@public_dir = File.join(config[:serve_public_dir], unique_start_id)
|
101
101
|
init_public_dir
|
102
102
|
end
|
103
103
|
|
data/views/index.slim
CHANGED
@@ -2,7 +2,7 @@ section#search
|
|
2
2
|
h1.page-header
|
3
3
|
span GeneValidator
|
4
4
|
span.small Identify problems with gene predictions
|
5
|
-
form#input action="
|
5
|
+
form#input action="/" method="POST"
|
6
6
|
.form-group#input_seq_group
|
7
7
|
label.control-label.input_seq-label for="seq" Input Sequences:
|
8
8
|
- if @max_characters != 'undefined'
|
data/views/layout.slim
CHANGED
@@ -8,9 +8,9 @@ html lang="en"
|
|
8
8
|
meta content="Wurmlab" name="author"
|
9
9
|
title GeneValidator | Identify problems with Gene Predictions
|
10
10
|
|
11
|
-
link href="
|
11
|
+
link href="/web_files/css/gv.compiled.min.css" rel="stylesheet" type="text/css"
|
12
12
|
|
13
|
-
script type="text/javascript" src="
|
13
|
+
script type="text/javascript" src="/web_files/js/gv.compiled.min.js'"
|
14
14
|
/! HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
|
15
15
|
/![if lt IE 9]
|
16
16
|
script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"
|
@@ -29,7 +29,7 @@ html lang="en"
|
|
29
29
|
.navbar-collapse.collapse.navbar-responsive-collapse
|
30
30
|
ul.nav.navbar-nav
|
31
31
|
li
|
32
|
-
a href="https://
|
32
|
+
a href="https://wserve_public_dirmlab.github.io/tools/genevalidator/" target="_blank" GeneValidator
|
33
33
|
li
|
34
34
|
a href="https://wurmlab.github.io/tools/genevalidator/api" target="_blank" API
|
35
35
|
li
|
data/views/results.slim
CHANGED
@@ -15,9 +15,9 @@ h3 Overview
|
|
15
15
|
- csv_file = File.join(output_dir, 'input_file_results.csv')
|
16
16
|
- json_file = File.join(output_dir, 'input_file_results.json')
|
17
17
|
- summary_file = File.join(output_dir, 'input_file_summary.csv')
|
18
|
-
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{
|
19
|
-
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{
|
20
|
-
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{
|
18
|
+
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{csv_file}" CSV Output File
|
19
|
+
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{json_file}" JSON Output File
|
20
|
+
a.btn.btn-primary.btn-sm target="_blank" download="" style="margin-right:10px;" href="#{summary_file}" Summary CSV Output File
|
21
21
|
|
22
22
|
br/
|
23
23
|
hr/
|
@@ -50,7 +50,7 @@ table#sortable_table.table.table-striped.table-collapsed.table-bordered.table-co
|
|
50
50
|
tbody
|
51
51
|
- @json_data_section.each do |row|
|
52
52
|
- json_file = "/GeneValidator/#{@gv_results[:unique_id]}/output/html_files/json/input_file_#{row[:idx]}.json"
|
53
|
-
tr data-jsonfile="#{
|
53
|
+
tr data-jsonfile="#{json_file}" data-target="toggle#{row[:idx]}"
|
54
54
|
td title="idx" = row[:idx]
|
55
55
|
td data-score="#{row[:overall_score]}"
|
56
56
|
.ratings
|