[Biopython-dev] bug in SeqIO.FASTA?

Iddo Friedberg idoerg at cc.huji.ac.il
Sun Jul 15 03:43:28 EDT 2001


Hi,

Line 80 in SeqIO.FASTA:
Method write_records is defined as:


   def write_records(records):
     .
     .
     .

Needs to accept a list of SeqRecords, as far as I can tell. Seems to abort
though:

fasta_1.write_records(rec_list_1)
TypeError: write_records() takes exactly 1 argument (2 given)


Shouldn't the definition line be:
def write_records(self,records):

?????

Iddo

--

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




More information about the Biopython-dev mailing list