|
|
|
action_loadState(self)
First action is to load any pre-existing state |
|
|
|
|
|
action_default(self)
Default action to always render the current state into HTML |
|
|
|
action_selectReactant(self) |
|
|
|
action_removeReactant(self) |
|
|
|
action_selectReagent(self) |
|
|
|
action_removeReagent(self)
Must be the last reagent, just replace it with a dummy |
|
|
|
action_generateProduct(self)
Real work here, use the reagent to generate the products |
|
|
|
action_clearProduct(self) |
|
|
|
|
|
action_clearPathway(self) |
|
|
|
renderReactant(self,
reactant,
reactionStep,
openReactant=False)
Return an HTML representation of the reactant SMILES, including
any associated links. |
|
|
|
__renderReagent(self,
reagent,
reactionStep,
reagentOptions)
Return an HTML representation of the reagent. |
|
|
|
__renderProduct(self,
product,
reactionStep,
warning_level_id)
Return an HTML representation of the product SMILES, including any
associated links. |
|
|
|
__magnifyIcon(self,
smiles) |
|
|
|
__isFinalStep(self,
reactionStep) |
|
|
|
__isLastCompletedStep(self,
iReaction,
reactionSteps) |
|
|
|
__readyForProductGeneration(self,
reactionStep) |
|
|
|
__recordUserProgress(self)
The user presumably just successfully completed a problem, record
an entry in the database to give them credit. |
|
|
Inherited from BaseWeb.BaseWeb :
action_uploadFiles ,
addHandler ,
clearHandlers ,
errorResponse ,
getTemplateFilename ,
handleRequest ,
maintainParams ,
optionTagsFromField ,
optionTagsFromList ,
printTemplate ,
replaceWhitespace ,
response ,
setTemplateFilename
|
|
reactionSteps = <CHEM.DB.rdb.search.NameRxnPatternMatchingMode...
|
|
productWarnings = <CHEM.DB.rdb.search.NameRxnPatternMatchingMo...
|
|
productWarningIds = <CHEM.DB.rdb.search.NameRxnPatternMatching...
|
|
disfavoredProducts = <CHEM.DB.rdb.search.NameRxnPatternMatchin...
|
|
worstProductWarning = -1
|
|
numDepictions = 0
|
|
indirectUse = False
|
|
reagentsById = <CHEM.DB.rdb.search.NameRxnPatternMatchingModel...
|
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
|