Package Bio :: Package EUtils :: Module Datatypes
[show private | hide private]
[frames | no frames]

Module Bio.EUtils.Datatypes

various EUtils datatypes
Classes
And intersection of two subexpressions
BinaryOp Base class for binary expressions.
CheckLinkSet Results from 'ncheck' and 'lcheck' searches This is used to check if a set of records has neighbors or links.
Date Allow simple Date storage
DateRange Restrict a search to matches within a date range...
DBIds Store a list of identifiers for a database
ErrorProblem  
Expression Base class for the Expression given in the eSearch output
FieldNotFound  
IdCheck Store results from an lcheck link...
IdUrlSet Set of ObjUrls for the record with the given 'id'
Link Store neighbor Link information for a given record...
LinkSetDb Used in eLink with cmd == neighbor Attributes are: dbto -- the links are TO this database name linkname -- the name for this set (eg, "pubmed_protein") links -- list of Links, one per matching record (includes score) List order is the sames as the XML, which is ordered from most likely to least.
LinksLinkSet Results of an 'llink' (LinkOut) search Finds links from records in a given database to external resources.
NeighborLinkSet Results from an eLink neighbor search...
Not the set of the left child without elements from the right child
ObjUrl The ObjUrl containing LinkOut information for a record...
Or union two subexpressions
OutputMessage  
PhraseIgnored  
PhraseNotFound  
PostResult Store the results of a Post Attributes are: webenv -- the WebEnv string query_key -- the query_ket timestamp -- timestamp (from time.time()) when this record was received from the server.
Problem Base class for Search Errors or Warnings...
Provider The Provider, as listed in 'llinks' (LinkOut)...
QuotedPhraseNotFound  
Range Used to store a date range
SearchResult Store results from a database search Attributes are: count -- total number of matches to the query retmax -- total number of identifiers requested retstart -- a search can return a portion of the total number of results.
Summary Store information from calling eSummary Attributes are: id -- the identifier string for this record dataitems -- an OrderedDictList containing the parsed Item elements for this Summary.
Term Information about an Expression Term, which is the leaf node...
WarningProblem  
WithinNDays Restrict a search to matches in the last N days

Exceptions
EUtilsError Base class for all EUtils-specific errors
EUtilsSearchError Used when the ESearch XML says there is an ERROR

Function Summary
  _build_problem_mapping()
Internal: make a map from category name (in XML) to the right class

Variable Summary
dict problem_category_mapping = {'FieldNotFound': <class Bio....
builtin_function_or_method _date_re_match = _sre.SRE_Pattern.match

Function Details

_build_problem_mapping()

Internal: make a map from category name (in XML) to the right class

Variable Details

problem_category_mapping

Type:
dict
Value:
{'FieldNotFound': <class Bio.EUtils.Datatypes.FieldNotFound at 0x706e9\
de0>,
 'OutputMessage': <class Bio.EUtils.Datatypes.OutputMessage at 0x706e9\
e70>,
 'PhraseIgnored': <class Bio.EUtils.Datatypes.PhraseIgnored at 0x706e9\
e10>,
 'PhraseNotFound': <class Bio.EUtils.Datatypes.PhraseNotFound at 0x706\
e9db0>,
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 10 20:05:47 2006 http://epydoc.sf.net