In particular i wanted to test check if we can achieve equivalence between
the formats using the ```parse_biom_table``` convenience function. However,
the hdf5 biom table is not represented in ```test_parse.py``` in TSV or
JSON formats. The test directly above this one tests JSON and TSV formats
when h5py is not installed.
On May 20, 2014 7:38 PM, "josenavas" <notifications@github.com> wrote:

> In tests/test_parse.py:
>
> > +        t_tsv = parse_biom_table(t_tsv_stringio)
> > +        self.assertEqual(t, t_tsv)
> > +
> > +        # Test JSON as a list of lines
> > +        t_json_str = t.to_json('asd')
> > +        t_json_lines = t_json_str.splitlines()
> > +        t_json = parse_biom_table(t_json_lines)
> > +        self.assertEqual(t, t_json)
> > +        # Test JSON as a file-like object
> > +        t_json_str = t.to_json('asd')
> > +        t_json_stringio = StringIO(t_json_str)
> > +        t_json = parse_biom_table(t_json_stringio)
> > +        self.assertEqual(t, t_json)
> > +
> > +    @npt.dec.skipif(HAVE_H5PY is False, msg='H5PY is not installed')
> > +    def test_parse_biom_table_with_hdf5(self):
>
> This test will be skipped if HDF5 is not installed. However, it is testing
> the TSV and JSON parsers, so it will probably safe to split this test in 3
> different functions so each of them are tested independently.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/biocore/biom-format/pull/436/files#r12877846>
> .
>