From 84bb7c7ff4afcb1ad7ad1c68f0eb778c64f63183 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 20 Mar 2013 16:31:38 +0100 Subject: check input --- application.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 5a11f2e..ac5e360 100644 --- a/application.rb +++ b/application.rb @@ -19,11 +19,7 @@ get '/predict/?' do end post '/predict/?' do - # check for content - unless params[:selection] and params[:identifier] != '' - redirect to('/predict') - end - # transferred input + # transfered input @identifier = params[:identifier] # get compound from SMILES @compound = OpenTox::Compound.from_smiles $compound[:uri], @identifier.to_s -- cgit v1.2.3