Skip to content

Commit

Permalink
added another prev wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wptharindu committed May 22, 2024
1 parent 87d36ca commit 0762f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nutrition/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ def write_reduced_results(results, reduced_results, projname=None, filename=None
for o, outcome in enumerate(rows):
name = [res] if o == 0 else [""]
thisout = out[o]
if "prev" in outcome.lower():
if _("prev") in outcome.lower():
cumul = "N/A"
elif "mortality" in outcome.lower():
elif _("mortality") in outcome.lower():
cumul = "N/A"
elif _("Number of SAM children") in outcome or _("Number of MAM children") in outcome:
cumul = "N/A"
Expand Down

0 comments on commit 0762f8f

Please sign in to comment.