summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-07-28 15:45:06 +0200
committerAndreas Maunz <andreas@maunz.de>2011-07-28 15:45:06 +0200
commitc1666e8ffc49f013074fcec3f87629a3a9ed9797 (patch)
tree5a7ccc173e098da23b9e85b58a2bb7865aa51a7d
parent49943ba879a40f2039eae710cb9e0ad8c2ffb04a (diff)
parent1dcc4402c15001a89b10e1e8bbdc4ab6b0a30a4b (diff)
Merge branch 'development' of github.com:opentox/opentox-ruby into development
-rw-r--r--lib/model.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/model.rb b/lib/model.rb
index 2c62f40..f1a8dc9 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -250,6 +250,8 @@ module OpenTox
@prediction_dataset.add @compound.uri, value_feature_uri, prediction[:prediction]
end
@prediction_dataset.add @compound.uri, confidence_feature_uri, prediction[:confidence]
+ @prediction_dataset.features[value_feature_uri][DC.title] = @prediction_dataset.metadata[DC.title]
+ @prediction_dataset.features[confidence_feature_uri][DC.title] = "Confidence"
if verbose
if @feature_calculation_algorithm == "Substructure.match"