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

Subvolume indexing bug #83

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Conversation

McHaillet
Copy link
Collaborator

Noticed this bug this morning when I was calculating something myself.

Apparently the subvolumes were not placed back correctly into the large subvolume when merging subjobs. This was because the whole_start parameter was not correctly calculated as I was subtracting the search_origin in x from both the x,y and z dimension.

I first wrote a test to highlight the bug and after updating it the bug is now indeed fixed.

@McHaillet McHaillet requested a review from sroet January 30, 2024 13:03
Copy link
Collaborator

@sroet sroet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice test driven development 😉 . Feel free to merge

@McHaillet McHaillet merged commit f48b320 into SBC-Utrecht:main Jan 30, 2024
@McHaillet McHaillet deleted the bug-search-origin branch January 30, 2024 13:16
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.

None yet

2 participants