From 5430c1f53f544d61a24236ed5c78c5972f102405 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Thu, 2 May 2013 12:33:19 +0200 Subject: add subjectid --- lib/dataset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index ec0abdb..f261641 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -178,7 +178,7 @@ module OpenTox query = RDF::Query.new({ :uri => { RDF.type => RDF::OT.Compound } }) @compounds = query.execute(@rdf).collect { |solution| OpenTox::Compound.new solution.uri } query = RDF::Query.new({ :uri => { RDF.type => RDF::OT.Feature } }) - @features = query.execute(@rdf).collect { |solution| OpenTox::Feature.new solution.uri } + @features = query.execute(@rdf).collect { |solution| OpenTox::Feature.new solution.uri, @subjectid } @compounds.each_with_index do |c,i| @features.each_with_index do |f,j| end -- cgit v1.2.3