From 5f54e69f9ed332bfb73e30bb6daed24955fe90f6 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Wed, 28 Jul 2010 10:15:04 +0200 Subject: new owl version (should be backwards compatible), fix dirty features bug in dataset --- lib/dataset.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/dataset.rb') diff --git a/lib/dataset.rb b/lib/dataset.rb index af72403..e43ce96 100644 --- a/lib/dataset.rb +++ b/lib/dataset.rb @@ -22,6 +22,7 @@ module OpenTox accept_header = "application/rdf+xml" end end + case accept_header when "application/x-yaml" d = YAML.load RestClientWrapper.get(uri.to_s.strip, :accept => 'application/x-yaml').to_s @@ -207,7 +208,7 @@ module OpenTox end def init_dirty_features(owl) - @dirty_features = @features + @dirty_features = @features.dclone @owl = owl end end -- cgit v1.2.3