... I knew there was a reason why I dropped it.
Alternative idea would be to define the attributes of a Raw objects as a
list of strings somewhere in a constants file and then feed it here.


On Mon, Feb 11, 2013 at 11:31 PM, Christian Brodbeck <
notifications@github.com> wrote:

> In mne/fiff/kit/kit.py:
>
> > +        self._create_raw_info_dict()
> > +        self._create_synth_ch()
> > +        self.verbose = verbose
> > +        self._preloaded = True
> > +        self.fids = list()
> > +        self.first_samp, self.last_samp = 0, self._data.shape[1] - 1
> > +        self._times = np.arange(self.first_samp, self.last_samp + 1)
> > +        self._times /= self.info['sfreq']
> > +        logger.info('    Range : %d ... %d =  %9.3f ... %9.3f secs'
> > +                    % (self.first_samp, self.last_samp,
> > +                       float(self.first_samp) / self.info['sfreq'],
> > +                       float(self.last_samp) / self.info['sfreq']))
> > +        # remove subclass helper attributes to create a proper Raw object.
> > +        for attr in self.__dict__:
> > +            if attr not in Raw.__dict__:
> > +                del attr
>
> Wait. This only deletes the attr variable, it doesn't remove the
> attribute from the object!
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mne-tools/mne-python/pull/366/files#r2969991>.
>
>