Pooja: added check for percentbeing NaN to display no_test_error: pyramid view