summaryrefslogtreecommitdiff
path: root/example.rb
diff options
context:
space:
mode:
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)