summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-10-31 15:36:32 +0100
committerAndreas Maunz <andreas@maunz.de>2012-10-31 15:36:32 +0100
commit5a1416c9734eddee9d123a542a01583fb47f7eea (patch)
tree6f989e31e99b96baf779f2d596aab901d31cc676
parentc3ee199e2994ea2a98458cc35f9565a85f8b997f (diff)
Added numeric status to subgraph features
-rw-r--r--lib/algorithm/fminer.rb2
-rw-r--r--webapp/fminer.rb2
-rw-r--r--webapp/lazar.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/algorithm/fminer.rb b/lib/algorithm/fminer.rb
index 19fa6aa..3a69858 100644
--- a/lib/algorithm/fminer.rb
+++ b/lib/algorithm/fminer.rb
@@ -168,7 +168,7 @@ module OpenTox
end
metadata = {
- RDF.type => [OT.Feature, OT.Substructure],
+ RDF.type => [OT.Feature, OT.Substructure, OT.NumericFeature],
OT.smarts => smarts.dup,
OT.pValue => p_value.abs.round(5),
OT.effect => effect
diff --git a/webapp/fminer.rb b/webapp/fminer.rb
index c6a100d..d062066 100644
--- a/webapp/fminer.rb
+++ b/webapp/fminer.rb
@@ -222,7 +222,7 @@ module OpenTox
features_smarts << smarts
metadata = {
OT.hasSource => url_for('/fminer/bbrc', :full),
- RDF.type => [OT.Feature, OT.Substructure],
+ RDF.type => [OT.Feature, OT.Substructure, OT.NumericFeature],
OT.smarts => smarts.dup,
OT.pValue => p_value.to_f.abs.round(5),
OT.effect => effect
diff --git a/webapp/lazar.rb b/webapp/lazar.rb
index fd2b489..c4ab6df 100644
--- a/webapp/lazar.rb
+++ b/webapp/lazar.rb
@@ -166,7 +166,7 @@ module OpenTox
unless @feature_dataset
$logger.debug "Loading f dataset"
- @feature_dataset = OpenTox::Dataset.find(params[:feature_dataset_uri], @subjectid) # This takes time
+ @feature_dataset = OpenTox::Dataset.find(params[:feature_dataset_uri], @subjectid)
end
case @feature_dataset.find_parameter_value("nr_hits")