summaryrefslogtreecommitdiff
path: root/lib/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser.rb')
-rw-r--r--lib/parser.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/parser.rb b/lib/parser.rb
index 257d250..5ac934c 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -525,7 +525,8 @@ module OpenTox
end
def split_row(row)
- row.chomp.gsub(/["']/,'').split(/\s*[,;\t]\s*/,-1) # -1: do not skip empty cells
+ CSV.parse(row)[0]
+ #row.chomp.gsub(/["']/,'').split(/\s*[,;\t]\s*/,-1) # -1: do not skip empty cells
end
end