summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2011-12-23 17:27:45 +0100
committerdavor <vorgrimmlerdavid@gmx.de>2011-12-23 17:27:45 +0100
commite37c0532148552105cc44ca07b99ac09568726e2 (patch)
tree8e0a2be64dc85be5af8428cff71f1421f1ebe01a
parent759f27761853cb33b8349dcede0ca9098c6a569a (diff)
Added switch for Substructure.lookup
-rw-r--r--lib/model.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/model.rb b/lib/model.rb
index 7b13750..664ade1 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -370,6 +370,8 @@ module OpenTox
@compound_fingerprints[feature] = @p_values[feature] * value
elsif @feature_calculation_algorithm == "Substructure.match"
@compound_fingerprints[feature] = @p_values[feature]
+ elsif @feature_calculation_algorithm == "Substructure.lookup"
+ @compound_fingerprints[feature] = value
end
end