Execution Time1.83s

Test: test_apply_reader_labels (Failed)
Build: CIP-Windows-AMD64-incr-SL-ON (WIN-VS2008) on 2017-04-18 00:06:12
Repository revision: 5688ea99747681f595a07692985b25e01c5f1de4

Exit Value1

Show Command Line
Display graphs:

Test output
E
======================================================================
ERROR: test_apply_reader_labels.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\classification\tests\test_apply_reader_labels.py", line 26, in test_execute
    reader.apply_reader_labels(seg, seg_header, features_df, plocs_df, None)
  File "D:\Projects\CIP-build\CIP-build\cip_python\classification\apply_reader_labels.py", line 79, in apply_reader_labels
    seg_value = seg[i, j, k]
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

----------------------------------------------------------------------
Ran 1 test in 0.031s

FAILED (errors=1)