miga-base 0.3.1.0 → 0.3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/actions/stats.rb +1 -1
- data/lib/miga/dataset_result.rb +3 -3
- data/lib/miga/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b722632a715da6a149257fe83361a009f7d1c965
|
|
4
|
+
data.tar.gz: 5e5582682e72ea8cfff97e82c6f72a85de7ab9b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37f1df3197453259c9a0eec7dcd679378edeb4605d63d98b2c80d57d02a966391829ee08faa8039ff44f431cf144c6e9fc1b4c75ac8bbb1683b92ebd683cbfb8
|
|
7
|
+
data.tar.gz: a5a5af7f26b8fce3979669d76c6df85ccdc94da052db2292571b8a00e594144016517226d937a59e9ef5a61d6191d09c92b976ebd6abb5e5ef875fb19e882786
|
data/actions/stats.rb
CHANGED
|
@@ -102,7 +102,7 @@ if o[:compute]
|
|
|
102
102
|
q_range = stats[:quality] > 80.0 ? :excellent :
|
|
103
103
|
stats[:quality] > 50.0 ? :high :
|
|
104
104
|
stats[:quality] > 20.0 ? :intermediate : :low
|
|
105
|
-
d.metadata[:
|
|
105
|
+
d.metadata[:quality] = q_range
|
|
106
106
|
d.save
|
|
107
107
|
end
|
|
108
108
|
when :distances
|
data/lib/miga/dataset_result.rb
CHANGED
|
@@ -191,8 +191,7 @@ module MiGA::DatasetResult
|
|
|
191
191
|
##
|
|
192
192
|
# Add result type +:taxonomy+ at +base+ (no +_opts+ supported).
|
|
193
193
|
def add_result_taxonomy(base, _opts)
|
|
194
|
-
|
|
195
|
-
add_files_to_ds_result(r, name, intax_test:".intax.txt")
|
|
194
|
+
add_result_distances_nonref(base)
|
|
196
195
|
end
|
|
197
196
|
|
|
198
197
|
##
|
|
@@ -228,7 +227,8 @@ module MiGA::DatasetResult
|
|
|
228
227
|
r = MiGA::Result.new("#{base}.json")
|
|
229
228
|
add_files_to_ds_result(r, name, aai_medoids:".aai-medoids.tsv",
|
|
230
229
|
haai_db:".haai.db", aai_db:".aai.db", ani_medoids:".ani-medoids.tsv",
|
|
231
|
-
ani_db:".ani.db", ref_tree:".nwk", ref_tree_pdf:".nwk.pdf"
|
|
230
|
+
ani_db:".ani.db", ref_tree:".nwk", ref_tree_pdf:".nwk.pdf",
|
|
231
|
+
intax_test:".intax.txt")
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
##
|
data/lib/miga/version.rb
CHANGED
|
@@ -10,7 +10,7 @@ module MiGA
|
|
|
10
10
|
# - Float representing the major.minor version.
|
|
11
11
|
# - Integer representing gem releases of the current version.
|
|
12
12
|
# - Integer representing minor changes that require new version number.
|
|
13
|
-
VERSION = [0.3, 1,
|
|
13
|
+
VERSION = [0.3, 1, 1]
|
|
14
14
|
|
|
15
15
|
##
|
|
16
16
|
# Nickname for the current major.minor version.
|