atpy/atpy — pull request #35 by mperrin (2011-11-18 18:57:43+00:00)
Title: votable.py: gracefully handle column names which are not valid python variable names

Attempting to read in a VOTable which has column names that are not
valid Python identifiers (i.e. a Vizier query result against the 2MASS
catalog has a field named '2MASS' giving the identifier number, while
some other tables have field named things like "RA(ICRS)" ) will fail
in the current version of atpy. This commit fixes that by either
converting invalid characters to underscores, or prepending an initial
underscore if the first character is a digit.