Yes, I removed it on purpose as in master the corresponding comp lines were
removed too. See recent ctf fix PR by @agramfort


On Sat, Jul 6, 2013 at 5:20 PM, mainakjas <notifications@github.com> wrote:

> In mne/realtime/epochs.py:
>
> > +                 name='Unknown', keep_comp=False, dest_comp=0, reject=None,
> > +                 flat=None, proj=True, decim=1, reject_tmin=None,
> > +                 reject_tmax=None, detrend=None, add_eeg_ref=True,
> > +                 verbose=None):
> > +
> > +        info = client.get_measurement_info()
> > +
> > +        # the measurement info of the data as we receive it
> > +        self._client_info = copy.deepcopy(info)
> > +
> > +        verbose = client.verbose if verbose is None else verbose
> > +
> > +        # call _BaseEpochs constructor
> > +        super(RtEpochs, self).__init__(info, event_id, tmin, tmax,
> > +                baseline=baseline, picks=picks, name=name, keep_comp=keep_comp,
> > +                dest_comp=dest_comp, reject=reject, flat=flat, proj=proj,
>
> now this:
>
> Traceback (most recent call last):
>
>   File "/home/mainakjas/github/mne-python/examples/realtime/compute_rt_moving_average.py", line 43, in <module>
>     reject=dict(grad=4000e-13, eog=150e-6))
>   File "/home/mainakjas/.local/lib/python2.7/site-packages/mne/utils.py", line 327, in dec
>     return function(*args, **kwargs)
>
>   File "/home/mainakjas/.local/lib/python2.7/site-packages/mne/realtime/epochs.py", line 162, in __init__
>     detrend=detrend, add_eeg_ref=add_eeg_ref, verbose=verbose)
>   File "/home/mainakjas/.local/lib/python2.7/site-packages/mne/epochs.py", line 111, in __init__
>     raise ValueError('current_comp and keep_comp are deprecated.'ValueError: current_comp and keep_comp are deprecated. Use the compensation parameter in Raw.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/615/files#r5052865>
> .
>