diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-07-29 12:10:58 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-07-29 12:10:58 +0000 |
commit | 97e7f0e0ffa690d5744886e9e0d8431d1c505e11 (patch) | |
tree | da723849a3c9fdbeeacb52050a95199f1991e986 | |
parent | ca56d6e8b039350b872dbe52a6c933d2471937ae (diff) |
SDF export with data items
-rw-r--r-- | application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application.rb b/application.rb index 223a207..2f231f7 100644 --- a/application.rb +++ b/application.rb @@ -115,6 +115,8 @@ before do @accept = 'application/rdf+xml' when ".xls" @accept = 'application/ms-excel' + when ".sdf" + @accept = 'chemical/x-mdl-sdfile' else raise OpenTox::NotFoundError.new "File format #{extension} not supported." end |