[Biopython-dev] Bio.AlignIO, Bio.Nexus, MrBayes, polymorphic sites, maximum line length

Peter biopython at maubp.freeserve.co.uk
Thu Dec 2 16:25:49 UTC 2010


On Thu, Dec 2, 2010 at 4:22 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:
> On Thu, Dec 2, 2010 at 3:27 PM, Nick Loman <n.j.loman at bham.ac.uk> wrote:
>>
>> ...
>>   raise NexusError('Unknown partition: '+interleave_by_partition)
>> TypeError: cannot concatenate 'str' and 'bool' objects
>>
>
> That should probably be something like this to avoid the TypeError
> in the exception:
>
> raise NexusError('Unknown partition: %r' % interleave_by_partition)
>

TypeError now fixed on the trunk:
https://github.com/biopython/biopython/commit/0d8189865ef674662fc240cf1e684df1d7f9a4c4

Peter




More information about the Biopython-dev mailing list