Execution Time0.25s

Test: test_hist_dist_knn (Failed)
Build: CIP-Darwin-13.4.0-x86_64-incr-SL-ON-SL-OFF (bwh002376.bwh.harvard.edu) on 2016-12-01 23:05:15

Exit Value1

Show Command Line
Display graphs:

Test output
E
======================================================================
ERROR: Failure: AttributeError (type object 'ChestRegion' has no attribute 'TRACHEA')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/acil-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/Users/acil-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/Users/acil-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/classification/tests/test_hist_dist_knn.py", line 1, in <module>
    from cip_python.classification import HistDistKNN
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/__init__.py", line 1, in <module>
    import common
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/__init__.py", line 3, in <module>
    from .chest_conventions import ChestConventions
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/chest_conventions.py", line 172, in <module>
    class ChestConventions(object):
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/chest_conventions.py", line 174, in ChestConventions
    ChestRegionsHierarchyCollection = ChestConventionsInitializer.chest_regions_hierarchy()     # LEFTSUPERIORLOBE, LEFTLUNG
  File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/chest_conventions.py", line 76, in chest_regions_hierarchy
    p = eval("ChestRegion.{}".format(hierarchy_node.find("Parent").text))
  File "<string>", line 1, in <module>
AttributeError: type object 'ChestRegion' has no attribute 'TRACHEA'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)