diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-11-22 18:03:57 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-11-22 18:03:57 +0100 |
commit | 3583682a8c9921aea86bd53ed80153ae1d5fb02d (patch) | |
tree | db5b086099ecfe71281ae4d04bd5ac3adb3e4366 | |
parent | 89398b94b7dd8bd99641af62844449c3030e3d7d (diff) |
OT.p_value changed to OT.pValue
-rw-r--r-- | fminer.rb | 7 | ||||
-rw-r--r-- | lazar.rb | 2 |
2 files changed, 5 insertions, 4 deletions
@@ -187,9 +187,9 @@ post '/fminer/bbrc/?' do features << smarts metadata = { OT.hasSource => url_for('/fminer/bbrc', :full), - OT.isA => OT.NominalFeature, + OT.isA => OT.Substructure, OT.smarts => smarts, - OT.p_value => p_value.to_f, + OT.pValue => p_value.to_f, OT.effect => effect, OT.parameters => [ { DC.title => "dataset_uri", OT.paramValue => params[:dataset_uri] }, @@ -330,9 +330,10 @@ post '/fminer/last/?' do unless features.include? smarts features << smarts metadata = { + OT.isA => OT.Substructure, OT.hasSource => feature_dataset.uri, OT.smarts => smarts, - OT.p_value => p_value.to_f, + OT.pValue => p_value.to_f, OT.effect => effect, OT.parameters => [ { DC.title => "dataset_uri", OT.paramValue => params[:dataset_uri] }, @@ -87,7 +87,7 @@ post '/lazar/?' do lazar.fingerprints[compound] << smarts unless lazar.features.include? smarts lazar.features << smarts - lazar.p_values[smarts] = training_features.features[feature][OT.p_value] + lazar.p_values[smarts] = training_features.features[feature][OT.pValue] lazar.effects[smarts] = training_features.features[feature][OT.effect] end else |