I've always felt that when passed an open file, code should assume that the
caller has navigated in the file to the point that parsing should begin.
On May 20, 2014 7:36 PM, "josenavas" <notifications@github.com> wrote:

> In biom/parse.py:
>
> >          try:
> >              t = Table.from_json(json.load(fp), input_is_dense=input_is_dense)
> >          except ValueError:
> > +            fp.seek(old_pos)
>
> It is probably easier to do fp.seek(0) and you can remove the old_pos =
> fp.tell() statement
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/biocore/biom-format/pull/436/files#r12877795>
> .
>