diff options
author | gebele <gebele@in-silico.ch> | 2018-10-05 13:20:37 +0000 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2018-10-05 13:20:37 +0000 |
commit | 1d006ce806c4235f9fb48f43db6a2b3004bd7a2b (patch) | |
tree | 38f950e3e0d2acc96192b7b3a306353c17ccb40f /views | |
parent | c5c539276db32706ecbd152f7499a2265d091974 (diff) |
fixed mazzatorta warnings in single predictions
Diffstat (limited to 'views')
-rw-r--r-- | views/prediction.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/prediction.haml b/views/prediction.haml index 152efc9..076ed64 100644 --- a/views/prediction.haml +++ b/views/prediction.haml @@ -159,7 +159,7 @@ %b.title Lowest observed adverse effect level (LOAEL) (Rats) (Mazzatorta) %p - hash = mazzatorta["mazzatorta"] - - unless hash.keys.include?("warnings") + - unless hash.keys.include?("warnings") || hash.key?(:warnings) %b Prediction: %br = "#{hash[:mmol_prediction]} (mmol/kg_bw/day)" |