-
Notifications
You must be signed in to change notification settings - Fork 429
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
PPC test byte order failures #4
Comments
Fixed by commit 81c056e and preceding; we needed to swap the arrays from data files to native endian after loading. |
MrBago
added a commit
that referenced
this issue
Dec 12, 2013
BF: added check for when seeds are out of volume's boundaries
arokem
pushed a commit
that referenced
this issue
Jul 29, 2016
BF: This raises a warning on line 367 otherwise.
Garyfallidis
added a commit
that referenced
this issue
Apr 9, 2017
A lightweight UI for medical visualizations #4: 2D Line Slider
Garyfallidis
pushed a commit
that referenced
this issue
Feb 6, 2018
Quick fixes for @gabknight PFT PR.
ShreyasFadnavis
pushed a commit
to ShreyasFadnavis/dipy
that referenced
this issue
Sep 20, 2018
A lightweight UI for medical visualizations dipy#4: 2D Line Slider
ShreyasFadnavis
pushed a commit
to ShreyasFadnavis/dipy
that referenced
this issue
Sep 20, 2018
Quick fixes for @gabknight PFT PR.
ShreyasFadnavis
pushed a commit
to ShreyasFadnavis/dipy
that referenced
this issue
Sep 20, 2018
delete unexpected argument scale
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry - the markdown stuff doesn't let me do pre html on this - so formatting is a mess.
ERROR: dipy.reconst.tests.test_dandelion.test_dandelion
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/tests/test_dandelion.py", line 19, in test_dandelion
sd=SphericalDandelion(data,bvals,gradients)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/dandelion.py", line 78, in init
peaks,inds=peak_finding(odf,odf_faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
-------------------- >> begin captured stdout << ---------------------
((102,), (102, 3), (6, 10, 10, 102))
--------------------- >> end captured stdout << ----------------------
ERROR: dipy.reconst.tests.test_gqsampling.test_gqiodfmask
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/tests/test_gqsampling.py", line 24, in test_gqiodfmask
gqs = gq.GeneralizedQSampling(data,bvals,gradients,mask=mask)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/gqi.py", line 157, in init
peaks,inds=rp.peak_finding(odf,odf_faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
ERROR: dipy.reconst.tests.test_gqsampling.test_gqiodf
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/tests/test_gqsampling.py", line 46, in test_gqiodf
gqs = gq.GeneralizedQSampling(data,bvals,gradients)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/gqi.py", line 169, in init
peaks,inds=rp.peak_finding(odf,odf_faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
ERROR: dipy.reconst.tests.test_gqsampling.test_gqi_small
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/tests/test_gqsampling.py", line 232, in test_gqi_small
gqs = gq.GeneralizedQSampling(data,bvals,gradients)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/gqi.py", line 169, in init
peaks,inds=rp.peak_finding(odf,odf_faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
-------------------- >> begin captured stdout << ---------------------
(65,)
(65, 3)
(10, 10, 10, 65)
--------------------- >> end captured stdout << ----------------------
ERROR: dipy.reconst.tests.test_sphere_max.test_performance
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/tests/test_sphere_max.py", line 174, in test_performance
maxes, pfmaxinds = dcr.peak_finding(vert_vals, faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
ERROR: dipy.tracking.tests.test_propagation.test_eudx
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/tracking/tests/test_propagation.py", line 28, in test_eudx
gqs = GeneralizedQSampling(data,bvals,gradients)
File "/Users/mb312/dev_trees/dipy/dipy/reconst/gqi.py", line 169, in init
peaks,inds=rp.peak_finding(odf,odf_faces)
File "recspeed.pyx", line 130, in dipy.reconst.recspeed.peak_finding (dipy/reconst/recspeed.c:1667)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/reconst/recspeed.c:4115)
ValueError: Non-native byte order not supported
-------------------- >> begin captured stdout << ---------------------
(10, 10, 10, 65)
--------------------- >> end captured stdout << ----------------------
ERROR: Cause we love testin.. ;-)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/mb312/dev_trees/dipy/dipy/tracking/tests/test_propagation.py", line 74, in test_eudx_further
T=[e for e in eu]
File "/Users/mb312/dev_trees/dipy/dipy/tracking/propagation.py", line 142, in iter
track =eudx_both_directions(seed.copy(),ref,self.a,self.ind,self.odf_vertices,self.a_low,self.ang_thr,self.step_sz,self.total_weight)
File "propspeed.pyx", line 304, in dipy.tracking.propspeed.eudx_both_directions (dipy/tracking/propspeed.c:2250)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/tracking/propspeed.c:3311)
ValueError: Non-native byte order not supported
FAIL: Doctest: dipy.tracking.propagation.EuDX.init
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for dipy.tracking.propagation.EuDX.init
File "/Users/mb312/dev_trees/dipy/dipy/tracking/propagation.py", line 38, in init
File "/Users/mb312/dev_trees/dipy/dipy/tracking/propagation.py", line 78, in dipy.tracking.propagation.EuDX.init
Failed example:
tracks=[e for e in eu]
Exception raised:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py", line 1248, in run
compileflags, 1) in test.globs
File "<doctest dipy.tracking.propagation.EuDX.__init[11]>", line 1, in
tracks=[e for e in eu]
File "/Users/mb312/dev_trees/dipy/dipy/tracking/propagation.py", line 142, in iter
track =eudx_both_directions(seed.copy(),ref,self.a,self.ind,self.odf_vertices,self.a_low,self.ang_thr,self.step_sz,self.total_weight)
File "propspeed.pyx", line 304, in dipy.tracking.propspeed.eudx_both_directions (dipy/tracking/propspeed.c:2250)
File "numpy.pxd", line 248, in numpy.ndarray.getbuffer (dipy/tracking/propspeed.c:3311)
ValueError: Non-native byte order not supported
The text was updated successfully, but these errors were encountered: