Mercurial > hg > GlobalNeighbors
diff globalneighbors/grid.py @ 20:2fef925fbf37
display country + population in autocomplete drop down
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 25 Jun 2017 16:12:08 -0700 |
parents | 4583d0d9331a |
children | 22c384fe954d |
line wrap: on
line diff
--- a/globalneighbors/grid.py Sun Jun 25 15:43:45 2017 -0700 +++ b/globalneighbors/grid.py Sun Jun 25 16:12:08 2017 -0700 @@ -78,7 +78,8 @@ class GriddedLocations(object): def __init__(self, locations): - raise NotImplementedError('TODO') + self.locations = locations + import pdb; pdb.set_trace() def main(args=sys.argv[1:]): """CLI""" @@ -90,6 +91,9 @@ # read locations city_locations = locations(parser.read_cities()) + # make a grid + gridded_locations = GriddedLocations(locations) + if __name__ == '__main__': main()