gn_crossmap 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gn_crossmap/result_processor.rb +3 -3
- data/lib/gn_crossmap/version.rb +1 -1
- data/lib/gn_crossmap/writer.rb +2 -2
- 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: 1e139da6675dabb5f5b1b7398df4df15710f82e5
|
4
|
+
data.tar.gz: 9702bc486be5af06429738be56f7c828632c9ecc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cec272dcc72f66f80b926d229c0cd6bc68d00d35e771ad1dd02aaf450b4c5ec09def11f2ddf0d56688ac34bccb2e9f17f7d1e4a732062a44cccf1f536ae1161
|
7
|
+
data.tar.gz: 6f3ad491f7d4275154955e76df628ee05388f895484ce69ba0bbf876ae4da0d4c0ea430cb14014293d83bf18b079ef5bf8ef99a312c0dcaedb432bb68aeaa22d
|
data/CHANGELOG.md
CHANGED
@@ -60,10 +60,10 @@ module GnCrossmap
|
|
60
60
|
synonym = result[:current_name_string] ? "synonym" : nil
|
61
61
|
res = [matched_type(result), datum[:supplied_name_string],
|
62
62
|
result[:name_string], canonical(datum[:supplied_name_string]),
|
63
|
-
result[:canonical_form],
|
64
|
-
matched_rank(result), synonym,
|
63
|
+
result[:canonical_form], result[:edit_distance],
|
64
|
+
@input[datum[:supplied_id]][:rank], matched_rank(result), synonym,
|
65
65
|
result[:current_name_string] || result[:name_string],
|
66
|
-
result[:
|
66
|
+
result[:score], result[:taxon_id]]
|
67
67
|
res << classification(result) if @with_classification
|
68
68
|
res
|
69
69
|
end
|
data/lib/gn_crossmap/version.rb
CHANGED
data/lib/gn_crossmap/writer.rb
CHANGED
@@ -27,8 +27,8 @@ module GnCrossmap
|
|
27
27
|
|
28
28
|
def output_fields(original_fields)
|
29
29
|
original_fields + %i[matchedType inputName matchedName inputCanonicalForm
|
30
|
-
matchedCanonicalForm inputRank
|
31
|
-
synonymStatus acceptedName
|
30
|
+
matchedCanonicalForm matchedEditDistance inputRank
|
31
|
+
matchedRank synonymStatus acceptedName
|
32
32
|
matchedScore matchTaxonID]
|
33
33
|
end
|
34
34
|
end
|