Skip to content

Commit

Permalink
28 June 00 Brad
Browse files Browse the repository at this point in the history
* Fix to Andrew's FASTA.py so that it imports modules inside the Bio namespace.
* Fixed setup.py. The ext_modules item in setup.py was missing commas between the tuples so it wouldn't build.
  • Loading branch information
chapmanb committed Jun 28, 2000
1 parent 171bf90 commit c7e8aa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Bio/SeqIO/FASTA.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import string
import Alphabet
import Bio.Alphabet

from Seq import Seq
from SeqRecord import SeqRecord
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord

# This can be made a lot faster by using infile.readlines!
# (Alas, that's a bit complicated to write.)

class FastaReader:
def __init__(self, infile, alphabet = Alphabet.generic_alphabet):
def __init__(self, infile, alphabet = Bio.Alphabet.generic_alphabet):
self.infile = infile
self.alphabet = alphabet

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
],
ext_modules = [('Bio.Tools.Classification.cSVM',
{ 'sources' : ['Bio/Tools/Classification/cSVMmodule.c'] }
)
),
('Bio.Tools.clistfns',
{ 'sources' : ['Bio/Tools/clistfnsmodule.c'] }
)
),
('Bio.Tools.cmathfns',
{ 'sources' : ['Bio/Tools/cmathfnsmodule.c'] }
)
Expand Down

0 comments on commit c7e8aa4

Please sign in to comment.