Mercurial > hg > GlobalNeighbors
view globalneighbors/template.py @ 1:1b94f3bf97e5
* limit distance function
* start gridding
* improve unicode handling
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 24 Jun 2017 14:02:14 -0700 |
parents | 5dba84370182 |
children |
line wrap: on
line source
#!/usr/bin/env python """ GlobalNeighbors template for makeitso """ import sys from cli import MakeItSoCLI from optparse import OptionParser from template import MakeItSoTemplate class GlobalNeighborsTemplate(MakeItSoTemplate): """ GlobalNeighbors template """ name = 'GlobalNeighbors' templates = ['template'] look = True class TemplateCLI(MakeItSoCLI): """ CLI driver for the GlobalNeighbors template """ def main(args=sys.argv[:]): cli = TemplateCLI() cli(*args) if __name__ == '__main__': main()