Top Level Namespace
Defined Under Namespace
Modules: OpenTox, Spork Classes: Array, Exception, OTLogger, OwlNamespace, String
Constant Summary collapse
- PACKAGE_DIR =
package_dir
- OT_LOGO =
File.join(CONFIG[:services]["opentox-validation"],"resources/ot-logo.png")
- R =
R integration workaround to initialize R non-interactively (former rinruby versions did this by default) avoids compiling R with X
nil
- TMP_DIR =
File.join(basedir, "tmp")
- LOG_DIR =
File.join(basedir, "log")
- CONFIG =
YAML.load_file(config_file)
- LOGGER =
LOGGER = OTLogger.new(logfile,‘daily’) # daily rotation
OTLogger.new(logfile)
- TRUE_REGEXP =
Regular expressions for parsing classification data
/^(true|active|1|1.0|tox|activating|carcinogen|mutagenic)$/i
- FALSE_REGEXP =
/^(false|inactive|0|0.0|low tox|deactivating|non-carcinogen|non-mutagenic)$/i
- DEFAULT_TASK_MAX_DURATION =
Task durations
36000
- AA_SERVER =
CONFIG[:authorization] ? (CONFIG[:authorization][:server] ? CONFIG[:authorization][:server] : nil) : nil
- ONTOLOGY_SERVER =
CONFIG[:services]["opentox-ontology"] ? CONFIG[:services]["opentox-ontology"] : "http://apps.ideaconsult.net:8080/ontology"
- RDF =
OwlNamespace.new 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
- OWL =
OwlNamespace.new 'http://www.w3.org/2002/07/owl#'
- DC =
OwlNamespace.new 'http://purl.org/dc/elements/1.1/'
- OT =
OwlNamespace.new 'http://www.opentox.org/api/1.1#'
- OTA =
OwlNamespace.new 'http://www.opentox.org/algorithmTypes.owl#'
- XSD =
OwlNamespace.new 'http://www.w3.org/2001/XMLSchema#'
- @@cactus_uri =
"http://cactus.nci.nih.gov/chemical/structure/"
- @@ambit_uri =
"http://ambit.uni-plovdiv.bg:8080/ambit2/depict/cdk?search="