Package Bio :: Package expressions :: Package swissprot
[hide private]
[frames] | no frames]

Source Code for Package Bio.expressions.swissprot

 1  # This is a Python module. 
 2   
 3  import warnings 
 4  warnings.warn("Bio.expressions was deprecated, as it does not work with recent versions of mxTextTools. If you want to continue to use this module, please get in contact with the Biopython developers at biopython-dev@biopython.org to avoid permanent removal of this module from Biopython", DeprecationWarning) 
 5   
 6   
 7  import Martel 
 8  from Martel import RecordReader 
 9   
10  # Very simple filter 
11  filter = Martel.SimpleRecordFilter(Martel.Str("ID  "), 
12                                     RecordReader.CountLines, (1,)) 
13