oops. Good catch.

> On Nov 24, 2013, at 10:25 AM, Alexandre Gramfort <notifications@github.com> wrote:
> 
> In mne/layouts/tests/test_layout.py:
> 
> > +    
> > +    mags = pick_types(sample_info, meg='mag')
> > +    sample_info3 = pick_info(sample_info, mags)
> > +    
> > +    # mock new convention
> > +    sample_info4 = copy.deepcopy(sample_info)
> > +    for ii, name in enumerate(sample_info4['ch_names']):
> > +        new = name.replace(' ', '')
> > +        sample_info4['ch_names'][ii] = new
> > +        sample_info4['chs'][ii]['ch_name'] = new 
> > +
> > +    lout = find_layout(sample_info, ch_type=None)
> > +    assert_true(lout.kind == 'Vectorview-all')
> > +    assert_true(all(' ' in k for k in lout.names))
> > +
> > +    lout = find_layout(sample_info2, ch_type='all')
> all -> meg
> 
> —
> Reply to this email directly or view it on GitHub.