Execution Time2.15s

Test: test_apply_reader_labels (Failed)
Build: CIP-Linux-3.10.0-123.el7.x86_64-x86_64-incr-SL-ON-SL-OFF (ip-172-31-44-204.ec2.internal) on 2017-04-18 00:07:07

Exit Value1

Show Command Line
Display graphs:

Test output
E
======================================================================
ERROR: test_apply_reader_labels.test_execute
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ec2-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/ec2-user/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 "/home/ec2-user/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.018s

FAILED (errors=1)