EEEEEF
======================================================================
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 348, 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_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 368, in execute
c.GetChestTypeName(int(ps[i, 1])), n)
File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 531, 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(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_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 364, in execute
c.GetChestTypeName(int(ps[i, 1])), n)
File "D:\Projects\CIP-build\CIP-build\cip_python\phenotypes\parenchyma_phenotypes.py", line 531, 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 220, in add_pheno
c.GetChestWildCardName(), "Invalid phenotype name"
AssertionError: Invalid phenotype name
----------------------------------------------------------------------
Ran 6 tests in 0.031s
FAILED (errors=5, failures=1)