diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-06-19 16:31:52 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-06-19 16:31:52 +0200 |
commit | 308ed58dc56815317f89654a0cc4ab7fb70a9f31 (patch) | |
tree | 3d1af6d1eba03c6dc1d29966005d7bebbc4cde16 /lib/dataset.rb | |
parent | bc9d5b9266e18d39ab5fd83db272bffde98c4161 (diff) | |
parent | fc931b802f4e32d4d19ff37e9d1d708a39efbce9 (diff) |
Merge branch 'development' of github.com:opentox/opentox-client into development
Conflicts:
lib/opentox.rb
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 9efae20..5df20b4 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -221,7 +221,7 @@ module OpenTox # redefine rdf serialization methods send :define_method, "to_#{format}".to_sym do - @metadata[RDF.type] = RDF::OT.OrderedDataset + @metadata[RDF.type] = [RDF::OT.Dataset, RDF::OT.OrderedDataset] create_rdf @features.each_with_index do |feature,i| @rdf << [RDF::URI.new(feature.uri), RDF::URI.new(RDF.type), RDF::URI.new(RDF::OT.Feature)] |