changeset 26:e01d84d29cd0

remove obselete
author Jeff Hammel <k0scist@gmail.com>
date Tue, 07 Oct 2014 16:47:25 -0700
parents 1a0dfe551d71
children f865bc916593
files numerics/read.py
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/numerics/read.py	Tue Oct 07 16:33:34 2014 -0700
+++ b/numerics/read.py	Tue Oct 07 16:47:25 2014 -0700
@@ -13,7 +13,7 @@
 import sys
 
 # module globals
-__all__ = ['main', 'ReadParser']
+__all__ = ['main', 'CSVParser']
 string = (str, unicode)
 
 class CSVSchema(object):
@@ -67,16 +67,6 @@
     return retval
 
 
-
-def ensure_dir(directory):
-    """ensure a directory exists"""
-    if os.path.exists(directory):
-        assert os.path.isdir(directory)
-        return directory
-    os.makedirs(directory)
-    return directory
-
-
 def read_csv(*fp):
     """read a series of CSV files"""