Package CHEM :: Package Web :: Package cgibin :: Package reaction :: Module VirtualSpaceSynthesisTreeWeb :: Class VirtualSpaceSynthesisTreeWeb
[hide private]
[frames] | no frames]

Class VirtualSpaceSynthesisTreeWeb



            BaseWeb.BaseWeb --+    
                              |    
BaseReactionWeb.BaseReactionWeb --+
                                  |
                                 VirtualSpaceSynthesisTreeWeb

Instance Methods [hide private]
 
__init__(self)
Constructor.
 
action_loadState(self)
Always check for current contents of the synthesis tree, and load state into memory
 
action_clearState(self)
 
action_saveState(self)
Generate HTML hidden fields to store the synthesis tree's reaction steps
 
action_addReactionStep(self)
Load parameters for a new reaction step and add it to the tree data
 
action_removeReactionStep(self)
Look for a reaction step ending with the specified target SMILES and remove it from the tree
 
action_checkAvailability(self)
For every molecule in the tree, check by it's canonical SMILES if it's available / exists in the database.
 
action_default(self)
Always reconstruct and render the synthesis tree.
 
action_summaryReport(self)
Generate a summary report like an invoice to cover all of the relevant information needed from the synthesis tree to proceed with a synthesis plan.

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]
  reagentsById = dict()
  reactionStepsByTargetSmi = dict()
  availableChemicalsByCanSmi = <CHEM.DB.rdb.search.NameRxnPatter...

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: BaseReactionWeb.BaseReactionWeb.__init__
(inherited documentation)

Class Variable Details [hide private]

availableChemicalsByCanSmi

Value:
None