diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/model_details.haml | 9 |
1 files changed, 7 insertions, 2 deletions
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"]+"," |