summaryrefslogtreecommitdiff
path: root/lib/algorithm.rb
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2017-01-18 14:17:02 +0000
committergebele <gebele@in-silico.ch>2017-01-18 14:17:02 +0000
commitdd8b986e198552ce865aa5500335043f60a0eef3 (patch)
treef5c06159d0a529f263ea25f6354f89825fc41410 /lib/algorithm.rb
parent76912e72cf52c2a10423226ababb2b6d7f4b84ca (diff)
parentd7504cc422bbaeee3546589d87e7baeb4e977c0b (diff)
fixed merge
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r--lib/algorithm.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb
index 0e4b93a..f70ac1a 100644
--- a/lib/algorithm.rb
+++ b/lib/algorithm.rb
@@ -2,6 +2,7 @@ module OpenTox
module Algorithm
+ # Execute an algorithm with parameters
def self.run algorithm, parameters=nil
klass,method = algorithm.split('.')
Object.const_get(klass).send(method,parameters)