diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-04-23 18:30:53 +0200 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-04-23 18:30:53 +0200 |
commit | ea91e82476e7d4d0cccb79f1915c536a22e654ff (patch) | |
tree | 960d55c11f2332dd39ecf92a83d3b5f4b19d3f8c | |
parent | ca9df18e0c154c5a5611c39c3585bbd8f5870838 (diff) |
replace source with creator
-rw-r--r-- | lazar.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,7 +93,7 @@ class Lazar < Model "Feature URI for dependent variable" => { :scope => "mandatory", :value => activity_dataset.features.join(', ')}, "Feature generation URI" => - { :scope => "mandatory", :value => feature_dataset.source } + { :scope => "mandatory", :value => feature_dataset.creator } } owl.rdf @@ -163,7 +163,7 @@ post '/:id/?' do # create prediction halt 404, "No compound_uri or dataset_uri parameter." unless compound_uri = params[:compound_uri] or dataset_uri = params[:dataset_uri] prediction = OpenTox::Dataset.new - prediction.source = lazar.uri + prediction.creator = lazar.uri prediction.title = URI.decode YAML.load(lazar.yaml).dependentVariables.split(/#/).last if compound_uri |