summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-09 10:01:32 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-09 10:01:32 +0200
commitce1e875e9ae85e6e0051bfd9b1b7393cf4a4bc8a (patch)
tree302c86b466ec0b22add3db28c5b5744d69d94bbd /application.rb
parent4315a4ef2bfc625dc2f3ed69dd6c90ddb0dd5593 (diff)
some obsolete parts removed
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/application.rb b/application.rb
index 7bbbafb..5cd934f 100644
--- a/application.rb
+++ b/application.rb
@@ -122,7 +122,6 @@ post '/upload' do # create a new model
redirect url_for('/create')
end
-=begin
begin
validation_task_uri = OpenTox::Validation.crossvalidation(
:algorithm_uri => OpenTox::Algorithm::Lazar.uri,
@@ -135,7 +134,6 @@ post '/upload' do # create a new model
rescue
flash[:notice] = "Model validation failed."
end
-=end
=begin
if parser.nr_compounds < 10
@@ -253,16 +251,6 @@ get %r{/compound/(.*)} do |inchi|
OpenTox::Compound.new(:inchi => inchi).names.gsub(/\n/,', ')
end
-=begin
-post "/neighbors" do
- @neighbors = params[:neighbors]
- @page = params[:page].to_i
- LOGGER.debug @neighbors
- LOGGER.debug @page
- haml :neighbors
-end
-=end
-
delete '/?' do
ToxCreateModel.auto_migrate!
response['Content-Type'] = 'text/plain'