Top Level Namespace

Defined Under Namespace

Modules: OpenTox, Rack, Spork Classes: MyLogger

Constant Summary collapse

RDF =

RDF namespaces

Redland::Namespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
OWL =
Redland::Namespace.new 'http://www.w3.org/2002/07/owl#'
DC =
Redland::Namespace.new 'http://purl.org/dc/elements/1.1/'
OT =
Redland::Namespace.new 'http://www.opentox.org/api/1.1#'
XML =

OT = Redland::Namespace.new ‘ortona.informatik.uni-freiburg.de/opentox.owl#’

Redland::Namespace.new 'http://www.w3.org/2001/XMLSchema#'
TMP_DIR =
File.join(basedir, "tmp")
LOG_DIR =
File.join(basedir, "log")
LOGGER =

LOGGER = MyLogger.new(logfile,‘daily’) # daily rotation

MyLogger.new(logfile)
TRUE_REGEXP =

Regular expressions for parsing classification data

/^(true|active|1|1.0)$/i
FALSE_REGEXP =
/^(false|inactive|0|0.0)$/i
DEFAULT_TASK_MAX_DURATION =

Task durations

3600
EXTERNAL_TASK_MAX_DURATION =
3600
@@cactus_uri =
"http://cactus.nci.nih.gov/chemical/structure/"
@@ambit_uri =
"http://ambit.uni-plovdiv.bg:8080/ambit2/depict/cdk?search="
@@config =
YAML.load_file(config_file)
@@users =
YAML.load_file(user_file)