-
Notifications
You must be signed in to change notification settings - Fork 264
BF: endian fixes for streamlines code #473
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
BF: endian fixes for streamlines code #473
Conversation
67efe15
to
aae6dee
Compare
Current coverage is 94.23% (diff: 100%)@@ master #473 diff @@
==========================================
Files 160 160
Lines 21197 21198 +1
Methods 0 0
Messages 0 0
Branches 2266 2266
==========================================
+ Hits 19975 19976 +1
Misses 802 802
Partials 420 420
|
Getting errors reading and writing on big-endian machines: http://nipy.bic.berkeley.edu/builders/nibabel-py2.7-ppc/builds/295/steps/shell_5/logs/stdio Closes nipy#471
aae6dee
to
7a6a71e
Compare
Oh, right. I've never really been able to test the writing on a big-endian system. Thanks for fixing it. So, the only thing you changed is to force the header to always be written in little-endian (which make sense since we always save the points/scalars/properties in little-endian)? The others changes are simply refactoring the code? If so, this LGTM. |
The refactoring is because |
Gotcha. 👍 |
Getting errors reading and writing on big-endian machines.
Closes #471