ukhas / habitat

Next Generation High Altitude Balloon Tracking
http://habitat.habhub.org/
GNU General Public License v3.0
41 stars 14 forks source link

Move validation of field names from parser (i.e., parse-time) to validation #242

Closed danielrichman closed 12 years ago

danielrichman commented 12 years ago

The UKHAS parser module checks that field names don't start with underscores in ukhas_parser.py:155 - validation could do this when the doc is saved. Can then either keep or drop that function in ukhas_parser.

It could also reject field["name"] == "payload" (?)