Skip to content

Commit

Permalink
Removing deprecated stuff for release 1.46.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoon committed Jun 28, 2008
1 parent 37faa7c commit fffac27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 5 additions & 4 deletions Bio/GFF/__init__.py
Expand Up @@ -19,7 +19,7 @@
"""

__version__ = "$Revision: 1.7 $"
__version__ = "$Revision: 1.8 $"
# $Source: /home/bartek/cvs2bzr/biopython_fastimport/cvs_repo/biopython/Bio/GFF/__init__.py,v $

import exceptions
Expand Down Expand Up @@ -137,9 +137,10 @@ class Feature(object):
Seq('AATAAA', Alphabet())
>>> print feature.location()
NC_001802x.fna:73..78
>>> from Bio.SeqIO.FASTA import FastaWriter
>>> writer = FastaWriter(sys.stdout)
>>> writer.write(feature.record())
>>> from Bio import SeqIO
>>> record = feature.record()
>>> records = [record]
>>> SeqIO.write(records, sys.stdout, 'fasta')
> NC_001802x.fna:73..78
AATAAA
>>> feature2 = Feature(location=easy.LocationFromString("NC_001802x.fna:73..78"))
Expand Down
6 changes: 1 addition & 5 deletions Bio/GFF/easy.py
Expand Up @@ -11,7 +11,7 @@

from __future__ import generators # requires Python 2.2

__version__ = "$Revision: 1.8 $"
__version__ = "$Revision: 1.9 $"
# $Source: /home/bartek/cvs2bzr/biopython_fastimport/cvs_repo/biopython/Bio/GFF/easy.py,v $

import copy
Expand All @@ -24,11 +24,7 @@
from Bio.Data import IUPACData
from Bio.Seq import Seq

#from Bio.SeqIO.FASTA import FastaReader, FastaWriter
#The whole of Bio.SeqIO.FASTA has been deprecated, so
#we'll use the new Bio.SeqIO functions instead:
from Bio import SeqIO

from Bio import SeqUtils

import GenericTools
Expand Down

0 comments on commit fffac27

Please sign in to comment.