Execution Time14.36s

Test: test_parenchyma_phenotypes (Failed)
Build: CIP-Windows-AMD64-incr-SL-ON-SL-OFF (WIN-VS2013) on 2016-04-05 00:16:54

Exit Value1

Show Command Line
Display graphs:

Test output
ED:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py:315: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
  if rs == None and ts == None and ps == None:
EEEE
======================================================================
ERROR: test_parenchyma_phenotypes.test_execute
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Projects\CIP-build\CIPPython-install\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\tests\test_parenchyma_phenotypes.py", line 23, in test_execute
    df = paren_pheno.execute(ct, lm, 'simple', np.array([1., 1., 1.]))
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 331, in execute
    mask_region = parser.get_mask(chest_region=r)
  File "D:\Projects\CIP-build\CIP-build\cip_python\utils\region_type_parser.py", line 60, in get_mask
    'chest_region must be an int between 0 and 255 inclusive')
ValueError: chest_region must be an int between 0 and 255 inclusive

======================================================================
ERROR: test_parenchyma_phenotypes.test_execute2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Projects\CIP-build\CIPPython-install\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\tests\test_parenchyma_phenotypes.py", line 126, in test_execute2
    df = paren_pheno.execute(ct, lm, 'simple', np.array([1., 1., 1.]))
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 331, in execute
    mask_region = parser.get_mask(chest_region=r)
  File "D:\Projects\CIP-build\CIP-build\cip_python\utils\region_type_parser.py", line 60, in get_mask
    'chest_region must be an int between 0 and 255 inclusive')
ValueError: chest_region must be an int between 0 and 255 inclusive

======================================================================
ERROR: test_parenchyma_phenotypes.test_execute3
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Projects\CIP-build\CIPPython-install\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\tests\test_parenchyma_phenotypes.py", line 136, in test_execute3
    df = paren_pheno.execute(ct, lm, 'simple', np.array([1., 1., 1.]))
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 355, in execute
    mask_type = parser.get_mask(chest_type=t)
  File "D:\Projects\CIP-build\CIP-build\cip_python\utils\region_type_parser.py", line 64, in get_mask
    'chest_type must be an int between 0 and 255 inclusive')
ValueError: chest_type must be an int between 0 and 255 inclusive

======================================================================
ERROR: test_parenchyma_phenotypes.test_execute4
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Projects\CIP-build\CIPPython-install\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\tests\test_parenchyma_phenotypes.py", line 146, in test_execute4
    df = paren_pheno.execute(ct, lm, 'simple', np.array([1., 1., 1.]))
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 371, in execute
    c.GetChestTypeName(int(ps[i, 1])), n)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 535, in add_pheno_group
    self.add_pheno([chest_region, chest_type], pheno_name, pheno_val)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\phenotypes.py", line 242, in add_pheno
    tmp[k] = self.static_names_handler_[k]()
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\phenotypes.py", line 154, in get_machine
    return os.uname()[1]
AttributeError: 'module' object has no attribute 'uname'

======================================================================
ERROR: test_parenchyma_phenotypes.test_execute5
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Projects\CIP-build\CIPPython-install\lib\site-packages\nose\case.py", line 197, in runTest
    self.test(*self.arg)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\tests\test_parenchyma_phenotypes.py", line 158, in test_execute5
    df = paren_pheno.execute(ct, lm, 'simple', np.array([1., 1., 1.]))
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 331, in execute
    mask_region = parser.get_mask(chest_region=r)
  File "D:\Projects\CIP-build\CIP-build\cip_python\utils\region_type_parser.py", line 60, in get_mask
    'chest_region must be an int between 0 and 255 inclusive')
ValueError: chest_region must be an int between 0 and 255 inclusive

----------------------------------------------------------------------
Ran 5 tests in 0.094s

FAILED (errors=5)