You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure when this happened but I think @isofer rewrote the add_noise but didn't change the unittests.
>>nosetests test_generate.py
E..EE.
======================================================================
ERROR: test_add_noise (kabuki.tests.test_generate.TestGenerate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/wiecki/working/projects/kabuki/kabuki/tests/test_generate.py", line 17, in test_add_noise
new_params = _add_noise(params, noise=noise)
File "/home/wiecki/working/projects/kabuki/kabuki/generate.py", line 70, in _add_noise
for param, value in cond_params.iteritems():
AttributeError: 'int' object has no attribute 'iteritems'
======================================================================
ERROR: test_single_cond_multi_subjs (kabuki.tests.test_generate.TestGenerate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/wiecki/working/projects/kabuki/kabuki/tests/test_generate.py", line 72, in test_single_cond_multi_subjs
new_params = _add_noise(params)
File "/home/wiecki/working/projects/kabuki/kabuki/generate.py", line 70, in _add_noise
for param, value in cond_params.iteritems():
AttributeError: 'int' object has no attribute 'iteritems'
======================================================================
ERROR: test_single_cond_multi_subjs_exclude (kabuki.tests.test_generate.TestGenerate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/wiecki/working/projects/kabuki/kabuki/tests/test_generate.py", line 97, in test_single_cond_multi_subjs_exclude
new_params = _add_noise(params, exclude_params=('tau',))
File "/home/wiecki/working/projects/kabuki/kabuki/generate.py", line 70, in _add_noise
for param, value in cond_params.iteritems():
AttributeError: 'int' object has no attribute 'iteritems'
----------------------------------------------------------------------
Ran 6 tests in 0.105s
FAILED (errors=3)
The text was updated successfully, but these errors were encountered:
Not sure when this happened but I think @isofer rewrote the add_noise but didn't change the unittests.
The text was updated successfully, but these errors were encountered: