Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs in array index in condition 3, possibly 1b in consolidate_database #140

Open
dgets opened this issue Jul 10, 2019 · 0 comments
Open
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dgets
Copy link
Owner

dgets commented Jul 10, 2019

if applicable_usages[cntr].timestamp - applicable_usages[cntr + 1].timestamp <= max_delta and \
    (applicable_usages[cntr].valid_entry and applicable_usages[cntr + 1].valid_entry):

is giving a list index out of range error (condition 3), and there were issues in condition 1b previously, though those may have been taken care of by a bit of code manipulation here.

This is the first time that I've run into this; previous data sets must not have had to consolidate any records in these conditionals.

@dgets dgets added the bug Something isn't working label Jul 10, 2019
@dgets dgets added this to the beta milestone Jul 10, 2019
@dgets dgets self-assigned this Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant