[BioPython] Why _num_letters_in_database XMLBLAST parser?

Sebastian Bassi sbassi at gmail.com
Mon Mar 31 15:24:28 UTC 2008


On Mon, Mar 31, 2008 at 12:02 PM, Peter <biopython at maubp.freeserve.co.uk> wrote:
>  I'd rather not.  Firstly, old code shouldn't be using "private"
>  attributes anyway.  Secondly, as far as I know, you are the only
>  person this would affect, so it would be easier to fix it in your
>  code.  Something like:
>  try :
>    count = record.num_letters_in_database

You are right, after sending my email I thought about this.
I will use the try/except as you suggested.

Best,
SB.

-- 
Curso Biologia Molecular para programadores: http://tinyurl.com/2vv8w6
Bioinformatics news: http://www.bioinformatica.info
Tutorial libre de Python: http://tinyurl.com/2az5d5



More information about the Biopython mailing list