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

E2E slice ordering adjustment #149

Merged
merged 3 commits into from
Nov 3, 2024
Merged

E2E slice ordering adjustment #149

merged 3 commits into from
Nov 3, 2024

Conversation

sustrev
Copy link
Contributor

@sustrev sustrev commented Oct 18, 2024

It was pointed out to me on a few test files that the converted output had the first slice as last within each volume, and I noticed that the logic utilized for slice ordering int(chunk.slice_id / 2) - 1 becomes -1 if chunk.slice_id is 0, which was happening with the test E2E files.

Are there other files that you've encountered where the - 1 is needed? Removing it seems like a simple solution, but if some files need that last bit of the equation, then there might need to be more logic around whether or not to do the subtraction...

@marksgraham
Copy link
Owner

I think this is jsut a bug, thanks for spotting. I do recall an issue about e2e slice ordering, can't find it now but it seems like this may be the solution :)

@marksgraham marksgraham merged commit 1de10a1 into marksgraham:main Nov 3, 2024
1 check passed
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.

2 participants