Traceback (most recent call last):


 "/home/zhwu/anaconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/home/zhwu/anaconda2/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/home/zhwu/workspace/DCRNN/scripts/generate_training_data.py", line 123, in <module>

main(args)


 "/home/zhwu/workspace/DCRNN/scripts/generate_training_data.py", line 108, in main

generate_train_val_test(args)


 "/home/zhwu/workspace/DCRNN/scripts/generate_training_data.py", line 85, in generate_train_val_test

x_train, y_train = x[:num_train], y[:num_train]
TypeError: slice indices must be integers or None or have an __index__ method

Traceback (most recent call last):


 "/usr/lib64/python3.6/site-packages/nose/case.py", line 197, in runTest

self.test(*self.arg)
TypeError: test_websocket() missing 1 required positional argument: 'tmpdir'
