0.41s
Test: test_image_reader_writer
(Failed)
Build: Darwin-c++
(whistler2.local)
on 2015-06-02 19:06:26
Show Command Line/Users/rjosest/anaconda/bin/nosetests "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/tests/test_image_reader_writer.py"
Display graphs:
Test output.E.E.
======================================================================
ERROR: test_image_reader_writer.test_writer
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjosest/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/tests/test_image_reader_writer.py", line 27, in test_writer
image_io.write(sitk_image,output_filename)
File "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/image_reader_writer.py", line 69, in write
sitk.WriteImage(sitk_image,file_name,useCompression=True)
TypeError: WriteImage() got an unexpected keyword argument 'useCompression'
======================================================================
ERROR: test_image_reader_writer.test_writer_numpy
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/rjosest/anaconda/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/tests/test_image_reader_writer.py", line 50, in test_writer_numpy
image_io.write_from_numpy(np_image,metainfo,output_filename)
File "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/image_reader_writer.py", line 88, in write_from_numpy
self.write(sitk_image,file_name)
File "/Users/rjosest/src/devel/ChestImagingPlatform/cip_python/io/image_reader_writer.py", line 69, in write
sitk.WriteImage(sitk_image,file_name,useCompression=True)
TypeError: WriteImage() got an unexpected keyword argument 'useCompression'
----------------------------------------------------------------------
Ran 5 tests in 0.013s
FAILED (errors=2)