diff options
author | mguetlein <martin.guetlein@gmail.com> | 2010-07-28 10:15:04 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2010-07-28 10:15:04 +0200 |
commit | 5f54e69f9ed332bfb73e30bb6daed24955fe90f6 (patch) | |
tree | 726648f8afe7c2b5e213a673f81716ba4955bc43 /lib/dataset.rb | |
parent | 94363088babbc613f8f49bae587775fde4c72392 (diff) |
new owl version (should be backwards compatible), fix dirty features bug in dataset
Diffstat (limited to 'lib/dataset.rb')
-rw-r--r-- | lib/dataset.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |