diff options
author | gebele <gebele@in-silico.ch> | 2015-01-12 14:56:22 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2015-01-12 14:56:22 +0100 |
commit | 9a5e7aaa35962994e758cdaa15e0925e1bfc39e4 (patch) | |
tree | baea6c0e9a4225220ecfa820ceef827f338b8b7f | |
parent | 2e882441ed2d5efcae434bd2764854da77c90ad6 (diff) |
fixed typo and line break
-rw-r--r-- | views/prediction.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/prediction.haml b/views/prediction.haml index dfc7009..0bd0ea9 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -90,8 +90,9 @@ Please keep in mind that predictions are based on the measured activities of neighbors. - @cv = OpenTox::Validation.find @prediction_models[count].metadata[RDF::OT.crossValidation][0]+"/statistics" unless @prediction_models[count].title.include?("Mutagenicity") - unless @model_type[count] == "regression" + %br %b - = "Probalitity: " + = "Probability: " - unless result == "No prediction result." or confidence == "--" = "#{@cv.probabilities( confidence, result )[:probs][result].round(3)*100} %" %p |