Mercurial > hg > numerics
changeset 6:7761aa18e885
wip
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 04 Sep 2014 18:05:39 -0700 |
parents | d5447d401c44 |
children | 2cad4536f797 |
files | numerics/convert.py numerics/interpolation.py numerics/template.py |
diffstat | 2 files changed, 2 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/convert.py Thu Sep 04 18:00:04 2014 -0700 +++ b/numerics/convert.py Thu Sep 04 18:05:39 2014 -0700 @@ -1,3 +1,5 @@ +__all__ = ['cast', 'float_or_orig'] + def cast(to_type, *values): retval = [] for value in values:
--- a/numerics/template.py Thu Sep 04 18:00:04 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -#!/usr/bin/env python - -""" -kplot template for makeitso -""" - -import sys -from cli import MakeItSoCLI -from optparse import OptionParser -from template import MakeItSoTemplate - -class kplotTemplate(MakeItSoTemplate): - """ - kplot template - """ - name = 'kplot' - templates = ['template'] - look = True - -class TemplateCLI(MakeItSoCLI): - """ - CLI driver for the kplot template - """ - -def main(args=sys.argv[:]): - cli = TemplateCLI() - cli(*args) - -if __name__ == '__main__': - main() - -