[Biopython-dev] used local in Tests/test_Nexus.py

Peter Cock p.j.a.cock at googlemail.com
Fri Dec 4 08:12:27 UTC 2015


Hi Vincent,

Did you mean a reused local variable in the email title?

It looks like Brad added this test some time back,
https://github.com/biopython/biopython/commit/bba8b8ded8964e5dd2484303d78a0f69efa756dc

Certainly the final int_node_labels.nwk snippet seems like
it could be a separate test method, perhaps expanded with
a sanity test like the number of leaves?

Peter

On Fri, Dec 4, 2015 at 1:09 AM, Vincent Davis <vincent at vincentdavis.net> wrote:
> Posting this here just to be sure I am not missing something.
>
> Starting at lin
> e
> 386
> https://github.com/biopython/biopython/blob/master/Tests/test_Nexus.py#L386
> ...
>
> tree = Trees.Tree(ts2)
>
> large_ex_handle = open(os.path.join(self.testfile_dir,
>     "int_node_labels.nwk"))
> tree = Trees.Tree(large_ex_handle.read())
> large_ex_handle.close()
>
> ...
>
> Vincent Davis
> 720-301-3003
>
> _______________________________________________
> Biopython-dev mailing list
> Biopython-dev at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython-dev


More information about the Biopython-dev mailing list