Mercurial > hg > GlobalNeighbors
diff globalneighbors/read.py @ 5:7e27e874655b
test a larger grid + move distance insertion to its own function
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 24 Jun 2017 15:16:10 -0700 |
parents | 1b94f3bf97e5 |
children |
line wrap: on
line diff
--- a/globalneighbors/read.py Sat Jun 24 14:48:55 2017 -0700 +++ b/globalneighbors/read.py Sat Jun 24 15:16:10 2017 -0700 @@ -37,7 +37,7 @@ try: cast = cast_row(row, types=types) except AssertionError: - sys.stderr.write("Error, row {}".format(index)) + sys.stderr.write("Error, row {}\n{}\n".format(index, row)) raise if fields: cast = {key: value for key, value in cast.items()