Skip to content

Fix bug where end of last save gets cut off and not all data is returned #20

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

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

Ajstros
Copy link
Owner

@Ajstros Ajstros commented Aug 31, 2022

When I added the append parameter to DDR3.save_data, I accidentally created a bug that caused newly saved data to be shifted such that it overlapped with previous data. This fixes the issue by resizing the existing h5 dataset to accommodate the incoming first chunk when append=True.

@Ajstros Ajstros requested a review from lucask07 August 31, 2022 18:13
@Ajstros Ajstros self-assigned this Aug 31, 2022
@Ajstros Ajstros merged commit b9713a0 into main Sep 2, 2022
@Ajstros Ajstros deleted the save_data_append branch September 2, 2022 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant