From aa678ba1f3988d2b42f372b6da0499b403708e58 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 3 Apr 2018 13:41:15 +0000 Subject: version bump;caret documentation fix --- views/model_details.haml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/model_details.haml b/views/model_details.haml index d85d2fb..c5e3370 100644 --- a/views/model_details.haml +++ b/views/model_details.haml @@ -28,8 +28,13 @@ = ", min: #{model.model.algorithms["similarity"]["min"]}" %br Prediction: - %a{:href=>"http://www.rubydoc.info/gems/lazar/OpenTox%2F#{model.model.algorithms["prediction"]["method"].sub("::","%2f")}", :rel=>"external"} - = model.model.algorithms["prediction"]["method"] + - if model.model.algorithms["prediction"]["method"] !~ /Caret/ + %a{:href=>"http://www.rubydoc.info/gems/lazar/OpenTox%2F#{model.model.algorithms["prediction"]["method"].sub("::","%2f")}", :rel=>"external"} + = model.model.algorithms["prediction"]["method"] + - else + %a{:href=>"http://www.rubydoc.info/gems/lazar/OpenTox/Algorithm/Caret", :rel=>"external"} + = model.model.algorithms["prediction"]["method"] + %br Descriptors: = model.model.algorithms["descriptors"]["method"]+"," -- cgit v1.2.3