semtools 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/onto2json.rb +0 -0
- data/bin/strsimnet.rb +1 -0
- data/lib/semtools/ontology.rb +2 -2
- data/lib/semtools/version.rb +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: 8fc29918a31045893647355dd72264a04386c5171c48ea868f7e9bbc93062151
|
4
|
+
data.tar.gz: 692ce02343cb00ac37bbc34476da08386bedf0eaca7946689eb62c9a1f06d555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b52667c81a0a25786b91156e9ed88a8de47e86fd18baddffc43b05ff199f95129b09da4e03025b6fb709d18a0274e22bf4a55c81471fda748e75aadca4d6ef1
|
7
|
+
data.tar.gz: 46e5b49f611c021ee8576a522a0a6ef22a8b9ed349084dadb9e44fd76c712c05221e6314985f08bdba575ac2dd849f1f14d84d5ae686889f33fac993132a8372
|
data/bin/onto2json.rb
CHANGED
File without changes
|
data/bin/strsimnet.rb
CHANGED
data/lib/semtools/ontology.rb
CHANGED
@@ -948,7 +948,7 @@ class Ontology
|
|
948
948
|
elsif term.is_a? Numeric # Numeric dictionary
|
949
949
|
[value.to_s.to_sym, term]
|
950
950
|
elsif flag == :is_a
|
951
|
-
[value.to_sym, term.to_sym]
|
951
|
+
[value.to_sym, term.map{|v| v.to_sym}]
|
952
952
|
elsif term.kind_of?(Array)
|
953
953
|
[value.to_sym, term.map{|t| t.to_sym}]
|
954
954
|
else
|
@@ -1139,7 +1139,7 @@ class Ontology
|
|
1139
1139
|
|
1140
1140
|
# Calculates :is_a dictionary without alternatives substitution
|
1141
1141
|
def calc_ancestors_dictionary
|
1142
|
-
self.calc_dictionary(:is_a, substitute_alternatives: false, self_type_references: true)
|
1142
|
+
self.calc_dictionary(:is_a, substitute_alternatives: false, self_type_references: true, multiterm: true)
|
1143
1143
|
end
|
1144
1144
|
|
1145
1145
|
|
data/lib/semtools/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- seoanezonjic
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: text
|