CivicSpleen / ambry

A comprehensive data package manager
BSD 2-Clause "Simplified" License
4 stars 5 forks source link

Build problems for sources with names start with number. #186

Open nmb10 opened 8 years ago

nmb10 commented 8 years ago

Find any bundle having source started with number: brfss for example:

name, title dest_table_name, ...
2013, 2013, 2013, ...

try to build:

bambry -i d034003 ingest
bambry -i d034003 build

File "/tmp/ambry/build/cdc.gov/brfss-0.0.3/code/casters/2013.py", line 6 def 2013_id_0(v, i_s, i_d, header_s, header_d, row, row_n, errors, scratch, accumulator, pipe, bundle, source): ^ SyntaxError: invalid syntax

ericbusboom commented 8 years ago

As a workaround, just change the name. "2014" isn't informative enough anyway, so "brfss2014" is probably better,