[BioPython] Martel 0.8

Iddo Friedberg idoerg@cc.huji.ac.il
Fri, 31 May 2002 09:51:15 +0300 (GMT+0300)


Hi,

I downloaded Martel from the CVS, and tried:

python setup.py install

Which gave me:
###### running tests in test_IterParser ###############
Traceback (most recent call last):
  File "../setup.py", line 158, in ?
    packages = ["Martel"],
  File "/usr/local/lib/python2.1/distutils/core.py", line 138, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.1/distutils/dist.py", line 899, in
run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
    cmd_obj.run()
  File "../setup.py", line 117, in run
    run_tests.local_test_main([])
  File "run_tests.py", line 33, in local_test_main
    return main(args)
  File "run_tests.py", line 16, in main
    module = __import__(name)
  File "test_IterParser.py", line 2, in ?
    from Martel import IterParser, RecordReader, LAX, Parser
  File "/home/idoerg/cvs_biopython/biopython/Martel/IterParser.py", line
81
    yield cont_handler
                     ^
SyntaxError: invalid syntax

------------------------------------------------------

I'm running Python-2.1, is "yield" a Python-2.2 feature?

Thanks,

Iddo

--

Iddo Friedberg                                  | Tel: +972-2-6757374
Dept. of Molecular Genetics and Biotechnology   | Fax: +972-2-6757308
The Hebrew University - Hadassah Medical School | email: idoerg@cc.huji.ac.il
POB 12272, Jerusalem 91120                      |
Israel                                          |
http://bioinfo.md.huji.ac.il/marg/people-home/iddo/