You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, the end "result" is 2 successful insertions, even though the logs show that it's successfully inserting larger chunks before that. If you look at the code:
with Timer() as tmr:
for chunk in chunks(observations):
dbm = bisect_insert_strategy(sesh, chunk)
You have forgotten to accumulate the results from each chunk insert, throwing away the results from before. This should be a quick fix:
dbm += bisect_insert_strategy(sesh, chunk)
As long as dbm is initialized prior to the beginning of the loop.
The text was updated successfully, but these errors were encountered:
During my testing today I discovered the same issue and fixed it in a commit. Have not pushed the change yet though until I finish testing all the networks.
Just did a run of the moti_insert and found an interesting result:
As you can see, the end "result" is 2 successful insertions, even though the logs show that it's successfully inserting larger chunks before that. If you look at the code:
You have forgotten to accumulate the results from each chunk insert, throwing away the results from before. This should be a quick fix:
dbm += bisect_insert_strategy(sesh, chunk)
As long as
dbm
is initialized prior to the beginning of the loop.The text was updated successfully, but these errors were encountered: