Package CHEM :: Package Common :: Module Const
[hide private]
[frames] | no frames]

Module Const



Various constants for use by the application modules

Variables [hide private]
  STD_FILE = '-'
  STD_MOL_EXT = {}
  SMILES_MOL_DELIM = '.'
Reaction SMILES component separator (reactant>reagent>product)
  REACTION_COMPONENT_DELIM = '>'
  FORMAT_OGHAM = 0
  FORMAT_DAYLIGHT = 1
  FORMAT_JME = 2
  FORMAT_OGHAM_ENCRYPT = 3
  FORMAT_CHEMAXON_MARVIN = 4
  FORMAT_CHEMAXON_MARVIN_APPLET = 5
  FP_SIZE = 1024
  FP_MAX = 8
  FP_MIN = 0
  FP_COLUMN = 'fingerprint_1'
  FP_RESULTS_START = '{'
  FP_RESULTS_END = '}'
  FP_RESULTS_ERROR = '***'
  TEXT_RESULTS_START = 'searchName'
  TEXT_RESULTS_COL_DELIM = '|'
  TEXT_RESULTS_LINE_DELIM = '#!#'
  FUZZY_NAME_SUFFIX = '~'
  DEFAULT_MAX_RESULTS = 10
  MAX_RESULTS_LIMIT = 100
  ADVANCED_RESULTS_LIMIT = 2500
  COMMENT_TAG = '#'
Delimiter of SQL commands in a DB script file
  SQL_DELIM = ';'
Tag to indicate a multi-part or multi-line parameter counts as a single token
  TOKEN_END = '"'
Null string used to represent DB null value
  NULL_STRING = 'None'
  NULL_TAG = '<NULL>'
  ALPHA = 'alpha'
  BETA = 'beta'
  WEIGHT = 'weight'
  EXTERNAL_ID_SUFFIX = '.external_id'
  EXCLUDED_SD_TAGS = Set(['mixturecomponent_id', 'sdf', 'count_i...
  DEFAULT_ID_COL_SUFFIX = '_id'
  CODE_COL = 'code'
  CODE_ORDER = 'position, code'
  SQL_WILDCARD = '%'
  EST_INPUT = 10000
Updates to process before reporting progress
  PROG_BIG = 1000
  PROG_SMALL = 25
  APPLICATION_NAME = 'CHEM.Common'
Default level for application logging.
  LOGGER_LEVEL = 20
Default format of logger output
  LOGGER_FORMAT = '[%(asctime)s %(levelname)s] %(message)s'
Variables Details [hide private]

EXCLUDED_SD_TAGS

Value:
Set(['mixturecomponent_id', 'sdf', 'count_isomer3d', 'dev_flag'])

APPLICATION_NAME

Default level for application logging. Modify these for different scenarios. See Python logging package documentation for more information
Value:
'CHEM.Common'