diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-09-07 11:32:06 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-09-07 11:32:06 +0200 |
commit | a3b0b9fbd81303e212bf063b9bf14f5f82941c36 (patch) | |
tree | b999219719f94bb77456ffe18c243d1b7dd6bddb /reach_reports | |
parent | a53f82b606537154a0b77749cf779d9b27c5271f (diff) |
fix minor qmrf error
Diffstat (limited to 'reach_reports')
-rw-r--r-- | reach_reports/reach_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/reach_reports/reach_service.rb b/reach_reports/reach_service.rb index 3505031..634f2b4 100644 --- a/reach_reports/reach_service.rb +++ b/reach_reports/reach_service.rb @@ -150,10 +150,10 @@ module ReachReports r.qsar_robustness.lmo = lmo.to_html # "lmo" => "6.9", "yscrambling" => "6.10", "bootstrap" => "6.11", "other_statistics" => "6.12", + LOGGER.debug "looking for validations with "+{:model_uri => model.uri}.inspect vals = Lib::Validation.find(:all, :conditions => {:model_uri => model.uri}) + r.qsar_predictivity = QsarPredictivity.new if vals and vals.size > 0 - - r.qsar_predictivity = QsarPredictivity.new r.qsar_predictivity.validation_set_availability = "Yes" r.qsar_predictivity.validation_set_data = ValidationSetData.new(:chemname => "Yes", :cas => "Yes", :smiles => "Yes", :inchi => "Yes", :mol => "Yes", :formula => "Yes") @@ -180,7 +180,7 @@ module ReachReports v << "" end else - v = [ "no validation of model '"+model.uri+" found" ] + v = [ "no validation for model '"+model.uri+"' found" ] end r.qsar_predictivity.validation_predictivity = v.to_html |