view globalneighbors/template.py @ 3:49aae0c0293b

improved test coverage
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 14:48:31 -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()