diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-07-12 18:12:54 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-07-12 18:12:54 +0200 |
commit | ffbde8e5c691f8a2f6f0d8039f8c98469a8bc631 (patch) | |
tree | cec4e53a9125b1639a9e9236bc703957920b5861 | |
parent | 9ee59712fab04f7345e3f44dd02321e50cd460c5 (diff) |
value type identification/conversion fixed
-rw-r--r-- | helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ module OpenTox ntriples << "#{data_entry_node} <#{RDF.type}> <#{RDF::OT.DataEntry}> ." ntriples << "#{data_entry_node} <#{RDF::OLO.index}> #{r} ." ntriples << "#{data_entry_node} <#{RDF::OT.compound}> <#{compound_uri}> ." + puts values.inspect values.each_with_index do |v,i| if v.blank? @warnings << "Empty value for compound '#{compound}' (row #{r+2}) and feature '#{feature_names[i]}' (column #{i+2})." |