ENH: Add version as attribute of Table

fixes#510 

Version should be an attribute of the table.  On init it currently defaults to (2,1) for future releases it only needs to be changed in one place now. 
Hmm, ok, then maybe we should have a global variable at module level
indicating what version of the format is implemented in the code. Like a
__biom_format_version__ or something?
On Jul 24, 2014 10:14 AM, "josenavas" <notifications@github.com> wrote:

> In biom/table.py:
>
> > @@ -223,12 +223,13 @@ def __init__(self, data, observation_ids, sample_ids,
> >                   observation_metadata=None, sample_metadata=None,
> >                   table_id=None, type=None, create_date=None, generated_by=None,
> >                   observation_group_metadata=None, sample_group_metadata=None,
> > -                 **kwargs):
> > +                 version=(2, 1), **kwargs):
>
> What we want to do here is to output the version of the BIOM format, not
> of the repository. Although the code changes and its under development, the
> format is different.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/biocore/biom-format/pull/512/files#r15355938>.
>