From 1d006ce806c4235f9fb48f43db6a2b3004bd7a2b Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 5 Oct 2018 13:20:37 +0000 Subject: fixed mazzatorta warnings in single predictions --- views/prediction.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') 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)" -- cgit v1.2.3