opentox-ruby-api-wrapper 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,10 @@
1
+ :base_dir: /home/ch/webservices
2
+ :webserver: thin
3
+ :services:
4
+ # make sure to enter a full uri (including training slash)
5
+ opentox-compound: "http://localhost:4000/"
6
+ opentox-feature: "http://localhost:4001/"
7
+ opentox-dataset: "http://localhost:4002/"
8
+ opentox-algorithm: "http://localhost:4003/"
9
+ opentox-model: "http://localhost:4004/"
10
+ #opentox-task: "http://localhost:4005/"
@@ -0,0 +1,9 @@
1
+ module OpenTox
2
+ module Utils
3
+ # gauss kernel
4
+ def self.gauss(sim, sigma = 0.3)
5
+ x = 1.0 - sim
6
+ Math.exp(-(x*x)/(2*sigma*sigma))
7
+ end
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opentox-ruby-api-wrapper
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Christoph Helma
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-10-06 00:00:00 +02:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: technoweenie-rest-client
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ description: Ruby wrapper for the OpenTox REST API (http://www.opentox.org)
26
+ email: helma@in-silico.ch
27
+ executables: []
28
+
29
+ extensions: []
30
+
31
+ extra_rdoc_files:
32
+ - LICENSE
33
+ - README.rdoc
34
+ files:
35
+ - LICENSE
36
+ - README.rdoc
37
+ - Rakefile
38
+ - VERSION
39
+ - lib/algorithm.rb
40
+ - lib/compound.rb
41
+ - lib/dataset.rb
42
+ - lib/environment.rb
43
+ - lib/feature.rb
44
+ - lib/helper.rb
45
+ - lib/model.rb
46
+ - lib/opentox-ruby-api-wrapper.rb
47
+ - lib/opentox.rb
48
+ - lib/spork.rb
49
+ - lib/task.rb
50
+ - lib/tasks/opentox.rb
51
+ - lib/tasks/redis.rb
52
+ - lib/templates/config.ru
53
+ - lib/templates/config.yaml
54
+ - lib/utils.rb
55
+ has_rdoc: true
56
+ homepage: http://github.com/helma/opentox-ruby-api-wrapper
57
+ licenses: []
58
+
59
+ post_install_message:
60
+ rdoc_options:
61
+ - --charset=UTF-8
62
+ require_paths:
63
+ - lib
64
+ required_ruby_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: "0"
69
+ version:
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: "0"
75
+ version:
76
+ requirements: []
77
+
78
+ rubyforge_project:
79
+ rubygems_version: 1.3.5
80
+ signing_key:
81
+ specification_version: 3
82
+ summary: Ruby wrapper for the OpenTox REST API
83
+ test_files: []
84
+