summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-03-10 12:12:58 +0100
committerChristoph Helma <helma@in-silico.ch>2011-03-10 12:12:58 +0100
commit53ac15be899b72f1cb80ec93fdc6a1c8fc9ebc9d (patch)
tree91f1123003d68084a3b129ff726f5bf8a56744cc
parentf65ab8815edc18e918e659cb74cb18269fedf5a3 (diff)
parent854e3ff1d872300151a23f787adf72afc54071f5 (diff)
Merge branch 'release/v1.0.0' into development
-rw-r--r--README17
-rw-r--r--application.rb2
2 files changed, 13 insertions, 6 deletions
diff --git a/README b/README
index 81c96e4..e4d478c 100644
--- a/README
+++ b/README
@@ -5,7 +5,8 @@ OpenTox model
* Implements the OpenTox model API
* Ruby implementation of lazar prediction models
-REST operations:
+REST operations
+---------------
Get a list of all lazar models GET / - List of model URIs 200
Get the representation of a lazar model GET /{id} - Model representation 200,404
@@ -13,12 +14,14 @@ Predict a compound POST /{id} compound_uri Prediction
Predict a dataset POST /{id} dataset_uri Prediction dataset URI 200,404,500
Delete a model DELETE /{id} - - 200,404
-Supported MIME formats (http://chemical-mime.sourceforge.net/):
+Supported MIME formats (http://chemical-mime.sourceforge.net/)
+--------------------------------------------------------------
* application/rdf+xml (default): read/write OWL-DL
* application/x-yaml
-Examples:
+Examples
+--------
List all lazar models
curl http://webservices.in-silico.ch/model
@@ -38,6 +41,10 @@ Predict a dataset
Delete a model
curl -X DELETE http://webservices.in-silico.ch/model/{id}
-More documentation: Source code (application.rb, lazar.rb)
+API documentation
+-----------------
+
+http://rdoc.info/github/opentox/model
+
+Copyright (c) 2009-2011 Christoph Helma, Martin Guetlein, Micha Rautenberg, Andreas Maunz, David Vorgrimmler, Denis Gebele. See LICENSE for details.
-Copyright (c) 2009 Christoph Helma. See LICENSE for details.
diff --git a/application.rb b/application.rb
index 9d8c0d5..866a267 100644
--- a/application.rb
+++ b/application.rb
@@ -1,5 +1,5 @@
require 'rubygems'
-gem "opentox-ruby", "~> 0"
+gem "opentox-ruby", "~> 1"
require 'opentox-ruby'
set :lock, true