From 0ba9448c8dfffcce5375e6d0df70020d18b4cfb5 Mon Sep 17 00:00:00 2001 From: Kristina Spurgin Date: Thu, 18 Feb 2021 13:01:41 -0500 Subject: [PATCH] cells = NULL are transformed to nil by both csv converters --- lib/kiba/extend.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/kiba/extend.rb b/lib/kiba/extend.rb index 57b1d5863..ba849eb75 100644 --- a/lib/kiba/extend.rb +++ b/lib/kiba/extend.rb @@ -37,6 +37,8 @@ module Extend begin if s.nil? nil + elsif s == 'NULL' + nil else s.strip .gsub(/ +/, ' ')