pubannotation_evaluator 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6ce137a51015703c89fd416ae664bb8b9cee5d3f9e7e0545885f86b656090b
|
4
|
+
data.tar.gz: ae086fb584133460a2e2ef4adb261fcf8c52a23fa7b542aa976b78feab6975db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dcf239066b7c54fd5491f955832ee7b88f459a58435e9852ab5e3fd42aba6e066404d48554620e018c2e0c43cc60029522e41f5461d5bceb2a56566f8e25631
|
7
|
+
data.tar.gz: 3e0cad2a630725cfc402003a53ac477c84f6f2385140bef2fbecc3ac04d99f0ce65ae5a474d00ec96db6e7c552102ddbb6aa5d8306b5b97d17d2656ef64290d3
|
@@ -168,8 +168,7 @@ class PubannotationEvaluator
|
|
168
168
|
|
169
169
|
# predicate match
|
170
170
|
match_pred_weight = @relation_type_match.call(s[:pred], r[:pred])
|
171
|
-
|
172
|
-
return (match_subj[:weight] + match_obj[:weight] + match_pred_weight).to_f / 3
|
171
|
+
# return (match_subj[:weight] + match_obj[:weight] + match_pred_weight).to_f / 3
|
173
172
|
end
|
174
173
|
|
175
174
|
def find_relation_matches(matches)
|