diff options
-rw-r--r-- | lib/algorithm/fminer.rb | 2 | ||||
-rw-r--r-- | webapp/fminer.rb | 2 | ||||
-rw-r--r-- | webapp/lazar.rb | 2 |
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") |