optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Fix budget year and budget values not being arrays #1885

Closed kelvinburke closed 1 year ago

kelvinburke commented 1 year ago

The FE expects both the budget year(s) and budget values to be arrays, not single numbers which the BE sometimes gives. This promotes the values to arrays if they are not None before passing to the FE. They stay as plain numbers in the BE until the FE clicks save.