summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2013-07-12 18:12:54 +0200
committerChristoph Helma <helma@in-silico.ch>2013-07-12 18:12:54 +0200
commitffbde8e5c691f8a2f6f0d8039f8c98469a8bc631 (patch)
treecec4e53a9125b1639a9e9236bc703957920b5861
parent9ee59712fab04f7345e3f44dd02321e50cd460c5 (diff)
value type identification/conversion fixed
-rw-r--r--helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/helper.rb b/helper.rb
index cb2e1c1..8bf049a 100644
--- a/helper.rb
+++ b/helper.rb
@@ -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})."