Class: molecularWeightSearcher

molecularWeightSearcher

new molecularWeightSearcher(mw)

Searcher for Molecular weight.
Parameters:
Name Type Description
mw Number molecular weight
Source:
Tutorials:

Extends

Methods

getfoundMsg() → {String}

Inherited From:
Source:
Returns:
Type
String

getNotFoundMsg() → {String}

Inherited From:
Source:
Returns:
Type
String

getRegExp() → {RegExp}

Inherited From:
Source:
Returns:
Type
RegExp

getRegExpString() → {String}

Inherited From:
Source:
Returns:
Type
String
override searcher#search. will return the approriate message from the question file.
Parameters:
Name Type Description
smileAnswer String The submitted SMILE string.
Source:

<protected> test(smileAnswer)

override searcher#test. will return true if the molecular weight of the answer is equal to the molecular weight of the question.
Parameters:
Name Type Description
smileAnswer String The submitted SMILE string.
Source: