[BioPython] Problems with Zope.
Cristian S. Rocha
crocha at dc.uba.ar
Thu Apr 22 17:46:05 EDT 2004
Hello,
I'm trying to use BioPython in an External Method in Zope but it return
"ImportError: cannot import name FastaReader" (and others functions). I
check some "tricks" but nothing change.
Then I modify my external method to know what happening with the symbol
table having the following results:
The program:
"""
def SequenceRead(SequenceString):
import StringIO
import Bio.SeqIO.FASTA
return vars(Bio.SeqIO.FASTA).keys()
"""
When I run it at command line the function return:
"""
['Bio', 'string', 'Seq', 'FastaReader', '__builtins__', '__file__',
'SeqRecord', 'FastaWriter', '__name__', 'os', '__doc__']
"""
That's ok. But When I run it in Zope the function return:
"""
['Bio', 'string', 'Seq', '__builtins__', '__name__', '__file__', 'os',
'__doc__']
"""
The function lost the "FastaReader", "SeqRecord" and "FastaWriter" in
the symbol table!!!
What's wrong?
Thxs,
Cristian.
--
Lic. Cristian S. Rocha.
<crocha at dc.uba.ar>
Departamento de Computacin. FCEyN. UBA.
Pabellon I. Cuarto 9.
Ciudad Universitaria.
(1428) Buenos Aires. Argentina.
Tel: +54-11-4576-3390/96 int 714
Tel/Fax: +54-11-4576-3359
Cel: 15-5-607-9192
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://portal.open-bio.org/pipermail/biopython/attachments/20040422/a0f13d68/attachment.bin
More information about the BioPython
mailing list