diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-07-04 16:36:07 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-07-04 16:36:07 +0200 |
commit | 0c441d6c0b06b969bd18809eefd99cc082e32612 (patch) | |
tree | 711c845f9c230c61282a8fa4cbda29ba4995b0a0 /lib/opentox.rb | |
parent | 6c35e3f8369ba96cb251eac487424bd949fdcf6c (diff) |
descriptor calculation fixed
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 044da4b..ec18c0f 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -229,6 +229,7 @@ module OpenTox end def self.find_or_create metadata, subjectid=nil + puts metadata.inspect sparql = "SELECT DISTINCT ?s WHERE { " metadata.each do |predicate,objects| unless [RDF::DC.date,RDF::DC.modified,RDF::DC.description].include? predicate # remove dates and description (strange characters in description may lead to SPARQL errors) |