gn_crossmap 0.1.7 → 0.1.8
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/CHANGELOG.md +5 -0
- data/lib/gn_crossmap/result_processor.rb +2 -0
- data/lib/gn_crossmap/version.rb +1 -1
- data/lib/gn_crossmap/writer.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 86fb5fd0af52a9d6f090087144dba5bd68f1b82b
|
|
4
|
+
data.tar.gz: 6c88b19b64806e01af435ba78014e95dce4bf48d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71628a47f7a41d1bc3d5444e029d36c3b1698eee93328ec1b7bcefc4c5c9bdcb60a0a892c9db851ba5c374e1b4172701f1cb22e0da701bf8e786c99fd3946db8
|
|
7
|
+
data.tar.gz: d9eb89cafb55e004e3b3d039cea5ed3471a21c24e4dac3c4a350254c1248eb6257004a82af48aac9a6071bcf1bc860c680351760649b5966525146394c19fef3
|
data/CHANGELOG.md
CHANGED
|
@@ -51,9 +51,11 @@ module GnCrossmap
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
def new_data(datum, result)
|
|
54
|
+
synonym = result[:current_name_string] ? "synonym" : nil
|
|
54
55
|
[matched_type(result), datum[:supplied_name_string],
|
|
55
56
|
result[:name_string], result[:canonical_form],
|
|
56
57
|
@input[datum[:supplied_id]][:rank], matched_rank(result),
|
|
58
|
+
synonym, result[:current_name_string],
|
|
57
59
|
result[:edit_distance], result[:score], result[:taxon_id]]
|
|
58
60
|
end
|
|
59
61
|
|
data/lib/gn_crossmap/version.rb
CHANGED
data/lib/gn_crossmap/writer.rb
CHANGED
|
@@ -23,7 +23,8 @@ module GnCrossmap
|
|
|
23
23
|
def output_fields(original_fields)
|
|
24
24
|
original_fields + [:matchedType, :inputName, :matchedName,
|
|
25
25
|
:matchedCanonicalForm, :inputRank, :matchedRank,
|
|
26
|
-
:
|
|
26
|
+
:synonymStatus, :acceptedName, :matchedEditDistance,
|
|
27
|
+
:marchedScore, :matchTaxonID]
|
|
27
28
|
end
|
|
28
29
|
end
|
|
29
30
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gn_crossmap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Mozzherin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: trollop
|
|
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
203
203
|
version: '0'
|
|
204
204
|
requirements: []
|
|
205
205
|
rubyforge_project:
|
|
206
|
-
rubygems_version: 2.
|
|
206
|
+
rubygems_version: 2.4.5
|
|
207
207
|
signing_key:
|
|
208
208
|
specification_version: 4
|
|
209
209
|
summary: Crossmaps a list of scientific names to names from a data source in GN Index
|