summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gütlein <martin.guetlein@gmail.com>2010-04-23 18:30:53 +0200
committerMartin Gütlein <martin.guetlein@gmail.com>2010-04-23 18:30:53 +0200
commitea91e82476e7d4d0cccb79f1915c536a22e654ff (patch)
tree960d55c11f2332dd39ecf92a83d3b5f4b19d3f8c
parentca9df18e0c154c5a5611c39c3585bbd8f5870838 (diff)
replace source with creator
-rw-r--r--lazar.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lazar.rb b/lazar.rb
index 09dc75e..ff6719e 100644
--- a/lazar.rb
+++ b/lazar.rb
@@ -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