[Biopython-dev] Bio/Entrez/__init__.py

Tiago Antão tiagoantao at gmail.com
Tue Nov 9 04:12:29 EST 2010


The buildbot server VM is currently down (Chris is moving it to
another physical location). As soon as the machine is back up, I will
activate the server and maybe we can start activating things on a Mac
architecture.

I was thinking in sending emails to the list (automatically) when a
build that was previously working, stops doing so...?

2010/11/9 Michiel de Hoon <mjldehoon at yahoo.com>:
> I've added this line:
>
>    ...    print record
>
> which should solve the 2to3 error.
>
> --Michiel.
>
> --- On Mon, 11/8/10, Peter <biopython at maubp.freeserve.co.uk> wrote:
>
>> From: Peter <biopython at maubp.freeserve.co.uk>
>> Subject: Re: [Biopython-dev] Bio/Entrez/__init__.py
>> To: "Tiago Antão" <tiagoantao at gmail.com>
>> Cc: "BioPython-Dev Mailing List" <biopython-dev at biopython.org>
>> Date: Monday, November 8, 2010, 11:38 AM
>> 2010/11/8 Tiago Antão <tiagoantao at gmail.com>:
>> > Hi,
>> >
>> > There is a doctest line that is making 2to3 go bonkers
>> on Bio.Entrez
>> > (__init__.py)
>> > Line 55
>> >             >>> for record in records:
>> >             ...     # each record is a Python
>> dictionary or list.
>> >
>> > Simplying adding a
>> > ...       pass
>> >
>> > Is enough (the code should not work as it is an empty
>> for, so 2to3 is
>> > actually correct)
>>
>> Ah - that isn't actually being used as a doctest (we don't
>> call it
>> in run_tests.py) and it wouldn't work if we tried because
>> half
>> the function arguments are omitted or left as dots.
>>
>> I like your solution of adding the pass line.
>>
>> Peter
>>
>> _______________________________________________
>> Biopython-dev mailing list
>> Biopython-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/biopython-dev
>>
>
>
>
>



-- 
"If you want to get laid, go to college.  If you want an education, go
to the library." - Frank Zappa



More information about the Biopython-dev mailing list