diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-05-26 15:16:26 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-05-26 15:16:26 +0200 |
commit | 72c7b6bd957afe6df71e1f4afe08c7b1f1669f09 (patch) | |
tree | 2a07ddf7cb183b553f98927766e869ba296062a1 | |
parent | 0d765f29d4d98cb085d8c067acf4d2249b541c6e (diff) |
fix for last commit: fixes in reports for crossvaldiation with few predictions
-rwxr-xr-x | report/report_content.rb | 2 | ||||
-rwxr-xr-x | report/xml_report.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/report/report_content.rb b/report/report_content.rb index d45d736..d151a7d 100755 --- a/report/report_content.rb +++ b/report/report_content.rb @@ -126,7 +126,7 @@ class Reports::ReportContent # bit of a hack to algin the last two plots in the report in to one row def align_last_two_images( title ) - @xml_report.align_last_two_elements(@current_section, title ) + @xml_report.align_last_two_images(@current_section, title ) end def add_regression_plot( validation_set, diff --git a/report/xml_report.rb b/report/xml_report.rb index ab3098e..5be5fdc 100755 --- a/report/xml_report.rb +++ b/report/xml_report.rb @@ -134,7 +134,7 @@ module Reports end # bit of a hack to algin the last two figures that have been added to element into one row - def align_last_two_figures( element, title ) + def align_last_two_images( element, title ) imgs = [] element.elements.each do |e| imgs[0] = imgs[1] |