moloney / dcmstack

DICOM to Nifti conversion with meta data preservation
Other
72 stars 51 forks source link

AttributeError: 'module' object has no attribute 'ignore_non_text_bytes' #33

Closed mih closed 8 years ago

mih commented 8 years ago

I am looking into packaging dcmstack for NeuroDebian. Running the tests on Debian testing leads to two errors:

======================================================================
ERROR: test_extract.TestMetaExtractor.test_get_elem_key
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/mih/debian/dcmstack/dcmstack/test/test_extract.py", line 79, in test_get_elem_key
    ignore_rules = (extract.ignore_non_text_bytes,)
AttributeError: 'module' object has no attribute 'ignore_non_text_bytes'

======================================================================
ERROR: test_extract.TestMetaExtractor.test_get_elem_value
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/mih/debian/dcmstack/dcmstack/test/test_extract.py", line 88, in test_get_elem_value
    ignore_rules = (extract.ignore_non_text_bytes,)
AttributeError: 'module' object has no attribute 'ignore_non_text_bytes'

Is extract.py outdated in the current HEAD?

Thanks in advance!