Execution Time2.48s

Test: test_parenchyma_phenotypes (Failed)
Build: CIP-Windows-AMD64-incr-SL-ON (WIN-VS2013) on 2016-07-25 12:14:41
Repository revision: 6b2430608c2b483b8597177725e9d9ccda356af7

Exit Value1

Show Command Line
Display graphs:

Test output
EEEFEF
======================================================================
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(lm, 'simple', np.array([1., 1., 1.]), ct=ct)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 341, 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 65, 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(lm, 'simple', np.array([1., 1., 1.]), ct=ct)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 341, 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 65, 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(lm, 'simple', np.array([1., 1., 1.]), ct=ct)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 347, 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 69, 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_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(lm, 'simple', np.array([1., 1., 1.]), ct)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 341, 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 65, 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

======================================================================
FAIL: 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(lm, 'simple', np.array([1., 1., 1.]), ct=ct)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 363, in execute
    c.GetChestTypeName(int(ps[i, 1])), phenos_to_compute)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 404, in add_pheno_group
    assert phenos_to_compute in self.pheno_names_, "Invalid phenotype name"
AssertionError: Invalid phenotype name

======================================================================
FAIL: test_parenchyma_phenotypes.test_execute6
----------------------------------------------------------------------
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 193, in test_execute6
    pheno_names=['TypeFrac'])
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 363, in execute
    c.GetChestTypeName(int(ps[i, 1])), phenos_to_compute)
  File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 404, in add_pheno_group
    assert phenos_to_compute in self.pheno_names_, "Invalid phenotype name"
AssertionError: Invalid phenotype name

----------------------------------------------------------------------
Ran 6 tests in 0.047s

FAILED (errors=4, failures=2)