Package CHEM :: Package Web :: Package cgibin :: Package reactdb :: Module ReactionStepBrowse :: Class ReactionStepBrowse
[hide private]
[frames] | no frames]

Class ReactionStepBrowse



          BaseWeb.BaseWeb --+    
                            |    
BaseReactDBWeb.BaseReactDBWeb --+
                                |
                               ReactionStepBrowse

Instance Methods [hide private]
 
__init__(self)
Constructor.
 
buildQuery(self)
Examines the input params and builds the classes sqlObj
 
action_default(self)
Basic handler...
 
__canonizeSmilesList(self, valueList)
Given a list of SMILES strings to search for, make sure they're all in some standard, canonical form for consistent searching

Inherited from BaseWeb.BaseWeb: action_uploadFiles, addHandler, clearHandlers, errorResponse, getTemplateFilename, handleRequest, maintainParams, optionTagsFromField, optionTagsFromList, printTemplate, replaceWhitespace, response, setTemplateFilename

Static Methods [hide private]

Inherited from BaseWeb.BaseWeb: javascriptString, quoteFilepath, quoteSmiles, unquoteSmiles

Class Variables [hide private]

Inherited from BaseWeb.BaseWeb: FILE_FIELD_SUFFIX, OPTIONS_FIELD_SUFFIX, OPTION_TAG, SELECT_FIELD_SUFFIX, TEMPLATE_SUFFIX, UPLOAD_FILE_CMD, disableResponse, mForm, mHandlers, mTemplateDict, mTemplateFilename, req, requestData

Method Details [hide private]

__init__(self)
(Constructor)

 
Constructor. Just some initializations such as addition of default mTemplateDict values. Be sure the subclasses call this method in their own __init__!
Overrides: BaseReactDBWeb.BaseReactDBWeb.__init__
(inherited documentation)

action_default(self)

 

Basic handler

If something been submitted
    Determine what SQL to run based on the inputs
    From reaction_step results
        Get depictions of the reactions
        Generate links to the details page

__canonizeSmilesList(self, valueList)

 

Given a list of SMILES strings to search for, make sure they're all in some standard, canonical form for consistent searching

Taken from CHEM.Web.cgibin.ChemicalSearchWeb