lets keep this for a separate one!

On 30.01.2013, at 01:09, Eric89GXL <notifications@github.com> wrote:

> In mne/fiff/bti/tests/test_bti.py:
> 
> > +        data = _read_data(info)
> > +        shape = (info['total_chans'], info['total_slices'])
> > +        assert_true(data.shape == shape)
> > +        info['fid'].close()
> > +
> > +
> > +def test_raw():
> > +    """ Test conversion to Raw object """
> > +
> > +    for pdf, config, hs, exported in zip(pdf_fnames, config_fnames, hs_fnames,
> > +                               exported_fnames):
> > +        # rx = 2 if 'linux' in pdf else 0
> > +        assert_raises(ValueError, read_raw_bti, pdf, 'eggs')
> > +        assert_raises(ValueError, read_raw_bti, pdf, config, 'spam')
> > +        if op.exists(tmp_raw_fname):
> > +            os.remove(tmp_raw_fname)
> Cool. I think it should raise an IOError if the file exists, unless overwrite=True (False by default) in which case it will send a logger.info() message saying it is going to overwrite, and then overwrite.
> 
> —
> Reply to this email directly or view it on GitHub.
>