Add new basal rate to NS pill (#148)
Add new basal rate to NS pill (#148)

* Change basal rounding to match values the pump can deliver

* Add truncate function, Add proper basal rounding for x23/x54, some readability changes

* More refactoring

* One of the basal tests should be <=, not ===

* Add tests for round_basal (required changes to determine-basal export), Add preferred units to pump profile, convert some determine_basal output to user chosen units

* Change round_basal to be easier to read

* Adjust tests to cope with changed whitespace formatting

* More mg->mmol changes. Adjust spacing in tests

* Add temp basal rate to NS pill for Xm @ y U/hr case

* Revert "Add temp basal rate to NS pill for Xm @ y U/hr case"

This reverts commit 46ce048086b9eb83f77166536041d0b7d61008ea.

* Add temp basal rate to NS pill for Xm @ y U/hr case

PieterGit/oref0,openaps/oref0,openaps/oref0,openaps/oref0,openaps/oref0,PieterGit/oref0,PieterGit/oref0,PieterGit/oref0