To my eye and @michaelarena 's eyes these compares look like they should be <=, and < breaks in our CI environment. We should determine what is correct here and why this appears to work on real data but not on the CI environment
|
nightdata = pathdata[keys[keys < start].max()] |
|
return pathdata[keys[keys < start].max()]['bindir'] |