summaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-05-03 10:32:59 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2012-05-03 10:32:59 +0200
commit3bdbc9b22518da6059859684b179fea55ee185f1 (patch)
tree0147bc498bfbf8c270bb4f7bc170c2030458872f /report
parentff53b7b3bf1ffe3447d107870eedbbd00ad71eef (diff)
Added chem. name / value transformation to report.nestle
If mol or mg is given in the feature name the values(actual and predicted) will be transformed.
Diffstat (limited to 'report')
-rwxr-xr-xreport/report_content.rb2
-rwxr-xr-xreport/report_factory.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/report/report_content.rb b/report/report_content.rb
index 033b367..0d2c7ec 100755
--- a/report/report_content.rb
+++ b/report/report_content.rb
@@ -412,4 +412,4 @@ class Reports::ReportContent
@tmp_files.delete(tmp_file_name) if @tmp_files.has_key?(tmp_file_name)
end
-end \ No newline at end of file
+end
diff --git a/report/report_factory.rb b/report/report_factory.rb
index f73ffd9..c9cab86 100755
--- a/report/report_factory.rb
+++ b/report/report_factory.rb
@@ -124,7 +124,7 @@ module Reports::ReportFactory
report.end_section
report.add_result(validation_set, Validation::ALL_PROPS, "All Results", "All Results")
- report.add_predictions( validation_set, false )
+ report.add_predictions( validation_set, true )
task.progress(100) if task
report
end