@mainakjas do you have a test where you establish that the epochs queue list attribute contains exactly the same data as sent by the mock client?

On 11.07.2013, at 18:18, mainakjas <notifications@github.com> wrote:

> In mne/realtime/tests/test_mockclient.py:
> 
> > +picks = mne.fiff.pick_types(raw.info, meg='grad', eeg=False, eog=True,
> > +                                stim=True, exclude=raw.info['bads'])
> > +
> > +#def test_mockclient():
> > +
> > +rt_client = MockRtClient(raw)
> > +rt_epochs = RtEpochs(rt_client, event_id, tmin, tmax, n_epochs,
> > +                     consume_epochs=False, picks=picks)
> > +
> > +rt_epochs.start()
> > +rt_client.send_data(rt_epochs, tmin=0, tmax=2, buffer_size=1000)
> > +
> > +for ev in rt_epochs.iter_evoked():
> > +    x_mock = ev.data[None, ...]
> > +
> > +print "hi"
> hmm ...but even if I forget about iterating over the epochs (comment it out) and simply get all of the epochs using
> 
> x_mock = rt_epochs.get_data()
> I still get stuck. It still doesn't go to the next statement. ok, I'll dig deeper tomorrow - seems like there is no superficially easy solution to this.
> 
> —
> Reply to this email directly or view it on GitHub.