Optional
options: { append to the current database a CSV file
text file containing the comma separated value file
Optional
options: { call back to execute after each molecule
Append the property data.color
to each entry based on a data or property label
{object} [options={}]
{string} [options.dataLabel] name of the property from data
to use
{string} [options.propertyLabel] name of the property from properties
to use
{number} [options.colorLabel='color'] name of the property to add in data that will contain the color
{number} [options.minValue]
{number} [options.maxValue]
{number} [options.minHue=0]
{number} [options.maxHue=360]
{number} [options.saturation=65] percent of color saturation
{number} [options.lightness=65] percent of color lightness
Append an array of entries to the current database. An entry is an object that by default should contain a 'ocl' property containing idCode and optionally index and coordinates
Optional
options: { call back to execute after each molecule
Search in a MoleculesDB Inside the database all the same molecules are group together
Optional
query: anysmiles, molfile, idlCode or instance of Molecule to look for
Optional
options: { The database group the data for the same product. This allows to flatten the result
query format
keep the OCL.Molecule object in the result
maximal number of result
search by 'substructure', 'exact' or 'similarity'
array of object of the type {(molecule), idCode, data, properties}
Search in a MoleculesDB Inside the database all the same molecules are group together
Optional
query: anysmiles, molfile, idCode or instance of Molecule to look for
Optional
options: { callback to execute to check if the search should be aborted
The database group the data for the same product. This allows to flatten the result
query format
interval in ms to call the onStep callback
keep the OCL.Molecule object in the result
maximal number of result
search by 'substructure', 'exact' or 'similarity'
callback to execute after each interval
array of object of the type {(molecule), idCode, data, properties}
openchemlib library