Skip to content

Commit

Permalink
prev wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wptharindu committed May 22, 2024
1 parent 4c3695c commit 80cdbfc
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 @@ -232,9 +232,9 @@ def write_results(results, reduced_results={}, projname=None, filename=None, fol
for o, outcome in enumerate(rows):
name = [res.name] 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 80cdbfc

Please sign in to comment.