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

Adding a field in NIVolume indicating original byteorder #79

Open
calvinchai opened this issue Oct 29, 2024 · 0 comments
Open

Adding a field in NIVolume indicating original byteorder #79

calvinchai opened this issue Oct 29, 2024 · 0 comments

Comments

@calvinchai
Copy link
Contributor

Do you agree that adding a field to NIVolume for indicating the original byteorder can be beneficial? Currently after loading from the disk, this information got lost. In Nibabel.py, there is a ni.header.endianness field for this purpose. Since adding such a field to the header definition is tricky in Julia implementation, we can have it in NIVolume struct, and make it default to the current system byteorder, when a new NIVolume is created.

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

No branches or pull requests

1 participant