diff options
author | gebele <gebele@in-silico.ch> | 2013-03-20 16:31:38 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-03-20 16:31:38 +0100 |
commit | 84bb7c7ff4afcb1ad7ad1c68f0eb778c64f63183 (patch) | |
tree | fd6bdaa8dcd71ecac0c0684713f43dce6b18482b /application.rb | |
parent | 8c893bcb65d0d460a26918a053e80d95828208f7 (diff) |
check input
Diffstat (limited to 'application.rb')
-rw-r--r-- | application.rb | 6 |
1 files changed, 1 insertions, 5 deletions
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 |