[BioPython] ExPASy support broken?

Bram Stolk bram@sara.nl
Wed, 13 Feb 2002 12:41:00 +0100


Hello,

Could it be that ExPASy support in biopython is broken?
The example for the tutorial does not work for me.
Neither with the latest released version of biopython, nor
with the CVS version of biopython.
 
   Bram


Python 2.0 (#6, Nov 21 2000, 16:23:30) [C] on irix646
Type "copyright", "credits" or "license" for more information.
>>> from Bio.WWW import ExPASy
>>> ids=['O23729','O23730','O23731']
>>> results = ExPASy.get_sprot_raw(id)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/home/sara/bram/src/biopython/Bio/WWW/ExPASy.py", line 54, in get_sprot_raw
    return _open("%s?%s" % (cgi, id))
  File "/home/sara/bram/src/biopython/Bio/WWW/ExPASy.py", line 132, in _open
    raise IOError, "no results"
IOError: no results


-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram@sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------