summaryrefslogtreecommitdiff
path: root/reach_reports
diff options
context:
space:
mode:
Diffstat (limited to 'reach_reports')
-rw-r--r--reach_reports/reach_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/reach_reports/reach_service.rb b/reach_reports/reach_service.rb
index 98617a8..c0f789f 100644
--- a/reach_reports/reach_service.rb
+++ b/reach_reports/reach_service.rb
@@ -150,7 +150,7 @@ module ReachReports
end
reports = OpenTox::RestClientWrapper.get File.join(CONFIG[:services]["opentox-validation"],"report/crossvalidation?crossvalidation_uris="+cv.crossvalidation_uri)
if reports and reports.size>0
- lmo << "for more info see report: "+reports
+ lmo << "for more info see report: "+reports.split("\n")[0]
else
lmo << "for more info see report: not yet created for '"+cv.crossvalidation_uri+"'"
end
@@ -197,7 +197,7 @@ module ReachReports
end
reports = OpenTox::RestClientWrapper.get File.join(CONFIG[:services]["opentox-validation"],"report/validation?validation_uris="+validation.validation_uri)
if reports and reports.size>0
- v << "for more info see report: "+reports
+ v << "for more info see report: "+reports.split("\n")[0]
else
v << "for more info see report: not yet created for '"+validation.validation_uri+"'"
end