loudnate / openaps-monitor

Status dashboard for your openaps project
MIT License
6 stars 8 forks source link

Skip first value in predicted_glucose #15

Closed channemann closed 9 years ago

channemann commented 9 years ago

Since the first value in predicted_glucose is identical to recent_glucose, omit it and start with the second entry; important mainly for tooltip confusion.

channemann commented 9 years ago

All fixed up. The funny thing is, that's exactly how I would have thought to do it, but when I went to google, the other way came up first. Trust your instincts ...

loudnate commented 9 years ago

It depends on the source iterator, I suppose. Here since we already have a list in memory we can apply the slice.