[Biopython-dev] GenomeDiagram bug?

Peter Cock p.j.a.cock at googlemail.com
Tue Oct 7 21:36:39 UTC 2014


On Tue, Oct 7, 2014 at 7:32 PM, Tiago Antao <tra at popgen.net> wrote:
> On Tue, 7 Oct 2014 19:30:50 +0100
> Tiago Antao <tra at popgen.net> wrote:
>
>
>> http://nbviewer.ipython.org/github/tiagoantao/biopython-notebook/blob/master/notebooks/17%20-%20Graphics%20including%20GenomeDiagram.ipynb7
>>
>
>
> Argh, sorry for this, url has 7 at the end, this one should work:
>
> http://nbviewer.ipython.org/github/tiagoantao/biopython-notebook/blob/master/notebooks/17%20-%20Graphics%20including%20GenomeDiagram.ipynb

You mean this exception in the simple BasicChromosome diagram example?

UnboundLocalError: local variable 'fill_color' referenced before assignment

(Note this is not actually part of GenomeDiagram)

It reminds me of a bug I found and fixed earlier this year (May 2014),

https://github.com/biopython/biopython/commit/8531e1c88d9e953b466a7c89009b58f77735b5d1

I think was committed just before we released Biopython 1.64 - what
version are you using?

Peter


More information about the Biopython-dev mailing list