jpeterbaker/maxfield — pull request #21 by marijnvdwerf (2014-08-16 21:46:00+00:00)
Title: Add support for commas in portal names

Lines like `"Het Leven, De Wietel",51323152,5978139` used to crash the script. This was solved by using the python `csv` module, instead of simply splitting a string at every comma.

Issue previously caused:
```
Traceback (most recent call last):
File "makePlan.py", line 215, in
sys.exit(main())
File "makePlan.py", line 102, in main
locs.append( np.array(parts[1:3],dtype=int) )
ValueError: invalid literal for long() with base 10: ' De Wietel"'
```