Closed samkumar closed 7 years ago
My bet is that it is not about the PW its about the depth of the tree. The condition might be different for leaf vs core node. Probably a quick fix, I'll take a look this week
@samkumar I think I fixed this. I have deployed on compound-3, email me your IP and I can open up the firewall
@immesys As we discussed earlier, your fix didn't work; this is still an issue
OK, see Pull Request #48. I think that will fix this issue.
Fixed with different fix
When BTrDB receives an aligned windows query, it rounds the start/end timestamps down to the nearest point boundary.
If pw < 32, it returns all points from start (inclusive) to end (exclusive), after rounding down. If pw >= 32, it returns all points from start (inclusive) to end (inclusive), after rounding down.
I believe this is a bug. This causes rendering artifacts in the WaveViewer plotter.
The following Python3 script reproduces this issue (I've emailed this to Michael). All timestamps used are point-aligned, so the rounding down behavior isn't tested.