summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-11-29 11:07:48 +0100
committermguetlein <martin.guetlein@gmail.com>2010-11-29 11:07:48 +0100
commitb50453d2ad038c9bab17a418bf4e065e31acb999 (patch)
tree8ca555aed14e14bfb44660cfd04e9a90c2f635f5 /example.rb
parent16a25a63ba7882901a778745d0a32baaafc22cad (diff)
addjust report service init to ortona
Diffstat (limited to 'example.rb')
-rw-r--r--example.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.rb b/example.rb
index 6417ae7..9d66cd4 100644
--- a/example.rb
+++ b/example.rb
@@ -86,7 +86,7 @@ class Example
cv.perform_cv( URI.decode(@@feature), @@alg_params )
log "create validation report"
- rep = Reports::ReportService.new(File.join(@@config[:services]["opentox-validation"],"report"))
+ rep = Reports::ReportService.instance(File.join(@@config[:services]["opentox-validation"],"report"))
rep.delete_all_reports("validation")
rep.create_report("validation",v.validation_uri)