diff options
Diffstat (limited to 'lib/experiment.rb')
-rw-r--r-- | lib/experiment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/experiment.rb b/lib/experiment.rb index b3ed174..191e76e 100644 --- a/lib/experiment.rb +++ b/lib/experiment.rb @@ -54,12 +54,12 @@ module OpenTox end def report + # TODO create ggplot2 report crossvalidation_ids.each do |id| cv = CrossValidation.find(id) - file = "/tmp/#{cv.name}.svg" + file = "/tmp/#{id}.svg" File.open(file,"w+"){|f| f.puts cv.correlation_plot} `inkview '#{file}'` - #p Crossvalidation.find(id).correlation_plot end end |