-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Reproduce:
- Remove versions in requreiments.txt
- follow installation instructions
- fix tensorflow 1 -> tensorflow 2 random seed.
- run tests, the following errors then occurs
======================================================================
ERROR: test_example_muse (tests.ExampleTest)
Testing example Muse code.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/korymath/Documents/code/DeepEEG/tests.py", line 37, in test_example_muse
raw = LoadMuseData(subs=[101, 102], nsesh=2, data_dir='visual/cueing')
File "/Users/korymath/Documents/code/DeepEEG/utils.py", line 106, in LoadMuseData
raw.append(muse_load_data(data_dir, sfreq=sfreq ,subject_nb=sub,
File "/Users/korymath/Documents/code/DeepEEG/utils.py", line 148, in muse_load_data
return load_muse_csv_as_raw(fnames,
File "/Users/korymath/Documents/code/DeepEEG/utils.py", line 204, in load_muse_csv_as_raw
info = create_info(ch_names=ch_names, ch_types=ch_types,
TypeError: create_info() got an unexpected keyword argument 'montage'
======================================================================
ERROR: test_frequencydomain_complex (tests.ExampleTest)
Testing simulated data pipeline.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/korymath/Documents/code/DeepEEG/tests.py", line 84, in test_frequencydomain_complex
raw,event_id = SimulateRaw(amp1=50, amp2=60, freq=1.)
File "/Users/korymath/Documents/code/DeepEEG/utils.py", line 277, in SimulateRaw
raw_sim_zero = simulate_raw(raw, stc_zero, trans_fname, src, bem_fname,
TypeError: simulate_raw() got an unexpected keyword argument 'cov'
======================================================================
ERROR: test_simulate_raw (tests.ExampleTest)
Testing simulated data pipeline.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/korymath/Documents/code/DeepEEG/tests.py", line 62, in test_simulate_raw
raw,event_id = SimulateRaw(amp1=50, amp2=60, freq=1.)
File "/Users/korymath/Documents/code/DeepEEG/utils.py", line 277, in SimulateRaw
raw_sim_zero = simulate_raw(raw, stc_zero, trans_fname, src, bem_fname,
TypeError: simulate_raw() got an unexpected keyword argument 'cov'
----------------------------------------------------------------------
Ran 5 tests in 1495.999s
FAILED (errors=3)
Metadata
Metadata
Assignees
Labels
No labels