diff options
author | gebele <gebele@in-silico.ch> | 2013-05-15 20:03:00 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2013-05-15 20:03:00 +0200 |
commit | 91fb2899d89311ad5f52c1a5aded3a833ea9fb1d (patch) | |
tree | 0d1799482b0f79d6375bd4dae0e3f4afa7ba7ddd /lib/opentox.rb | |
parent | 7def60bb82474c5e12bbc0362476752524e25d53 (diff) |
check rdf befor build
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 292eb6f..211fc7b 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -129,7 +129,7 @@ module OpenTox end def create_rdf - @rdf = RDF::Graph.new + @rdf = RDF::Graph.new if @rdf.empty? or URI.task?(@uri) @metadata[RDF.type] ||= eval("RDF::OT."+self.class.to_s.split('::').last) @metadata[RDF::DC.date] ||= DateTime.now @metadata.each do |predicate,values| |