diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-02-26 09:43:22 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-02-26 09:43:22 +0100 |
commit | 6e756ca5ec2fe363fd5e835cc907f161bf4a947a (patch) | |
tree | 6fd38e3d4e056d18652600a4ea26e75308c83500 /lazar.rb | |
parent | 5aed9020c096b615975f22113130272acf8371eb (diff) | |
parent | 987b7ccd630ce527d472808b1cbeccb96b7917d4 (diff) |
Merge remote branch 'helma/test' into test
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,5 @@ get '/lazar/?' do + response['Content-Type'] = 'application/rdf+xml' OpenTox::Algorithm::Lazar.new.rdf end @@ -77,7 +78,6 @@ post '/lazar/?' do # create a model end end - # TODO: add tsk to yaml yaml = { :activity_dataset => params[:dataset_uri], :feature_dataset => feature_dataset_uri.to_s, @@ -91,7 +91,6 @@ post '/lazar/?' do # create a model LOGGER.debug yaml model_uri = OpenTox::Model::Lazar.create(yaml) - #model.yaml = yaml LOGGER.info model_uri + " created #{Time.now}" task.completed(model_uri) @@ -99,6 +98,7 @@ post '/lazar/?' do # create a model LOGGER.debug "Lazar task PID: " + pid.to_s task.pid = pid #status 303 + response['Content-Type'] = 'text/uri-list' task.uri #model.uri |