Calling is fine, importing object code is the issue
On Mar 24, 2014 3:42 PM, "adamrp" <notifications@github.com> wrote:

> In americangut/parse.py:
>
> > +    num_samples = len(sample_ids)
> > +
> > +    for line in taxa_summary_fp:
> > +        line = line.strip()
> > +        if not line:
> > +            continue
> > +        line_pieces = line.split('\t')
> > +        if len(line_pieces[1:]) != num_samples:
> > +            raise ValueError("Error in taxa summary file - number of values does not " \
> > +                "match the number of samples")
> > +        taxa_table.append(array(map(cast_as, line_pieces[1:])))
> > +        taxa_ids.append(line_pieces[0])
> > +
> > +    return sample_ids, taxa_ids, array(taxa_table)
> > +
> > +def parse_mapping_file_to_dict(mapping_file_fp):
>
> Ah okay. Is it a problem that we're calling pick_closed_reference_otus.py
> in the notebook(s)?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/biocore/American-Gut/pull/67/files#r10908043>
> .
>