IO exists!

Ready for review!

Basic framework for the IO subpackage. Still need to add docstrings.
ah, kk


On Wed, Aug 20, 2014 at 11:51 AM, Evan Bolyen <notifications@github.com>
wrote:

> In skbio/io/_registry.py:
>
> > +                                _factor_format(fmt.lower()))), ',' in fmt
> > +    else:
> > +        return _compound_format(sorted([_normalize_format(f)[0] for f in
> > +                                fmt])), True
> > +
> > +
> > +def _is_iter_list(x):
> > +    return (hasattr(x, '__iter__') and not hasattr(x, 'read') and
> > +            not _is_string_or_bytes(x))
> > +
> > +
> > +def _setup_kwargs(kws):
> > +    if len(kws) == 1:
> > +        return kws[0]
> > +    kwargs = {}
> > +    for key in chain.from_iterable([k.keys() for k in kws]):
>
> So the goal wasn't really lazy, it just so happened I didn't know about
> flatten but did know that chain would accomplish the goal.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/scikit-bio/pull/585/files#r16492194>.
>