# HG changeset patch # User Jeff Hammel # Date 1421801096 28800 # Node ID 537fba7c9def4cb2b8901c575078a1d58ed987ea # Parent f16d5f01373905f994aa7b85380abc0943d1119f stubbing diff -r f16d5f013739 -r 537fba7c9def numerics/convert.py --- a/numerics/convert.py Tue Jan 20 16:32:16 2015 -0800 +++ b/numerics/convert.py Tue Jan 20 16:44:56 2015 -0800 @@ -43,7 +43,7 @@ raise NotImplementedError('TODO') # -> record TODO items -def cast_column(values, to=default_cast): +def cast_columns(values, to=default_cast): """ cast a column of data """ diff -r f16d5f013739 -r 537fba7c9def numerics/manipulate.py --- a/numerics/manipulate.py Tue Jan 20 16:32:16 2015 -0800 +++ b/numerics/manipulate.py Tue Jan 20 16:44:56 2015 -0800 @@ -16,16 +16,6 @@ here = os.path.dirname(os.path.realpath(__file__)) string = (str, unicode) -def ensure_dir(directory): - """ensure a directory exists""" - if os.path.exists(directory): - if not os.path.isdir(directory): - raise OSError("Not a directory: '{}'".format(directory)) - return directory - os.makedirs(directory) - return directory - - class Parser(argparse.ArgumentParser): """CLI option parser""" def __init__(self, **kwargs):