diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-05-02 12:33:19 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-05-02 12:33:19 +0200 |
commit | 5430c1f53f544d61a24236ed5c78c5972f102405 (patch) | |
tree | d66fe2b0dff4064e32429420d7f9f5387b6e9906 /lib/dataset.rb | |
parent | 0ca380fc80332e38fe9c230ad60486e3dfef9df3 (diff) |
add subjectid
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |