tidepool-org/blip — pull request #49 by cheddar (2014-04-14 20:41:06+00:00)
Title: Fix false assumption about scheduled basals from diasend

The original blip processing code was written under the assumption that it would have a continuous stream of scheduled basal segments. That is not true for diasend and the logic that was associating the edges of scheduled basals was doing things wrong. This fixes it to rely on the durations provided in the events, 'cause those are correct.