Skip to content

Commit

Permalink
Add debugging statement to see what is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
amymok committed Jan 2, 2018
1 parent e520590 commit 49a31dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mapusaurus/censusdata/management/commands/load_summary_one.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ def handle(self, *args, **options):
if line[8:11] == '140': # Aggregated by Census Tract
recordnum = line[18:25]
censustract = line[27:32] + line[54:60]
print "censustract", censustract
censustract = errors.in_2010.get(censustract, censustract)
print "censustract after in 2010", censustract
censustract = errors.change_specific_year(censustract, year)
print "censustract after spec year", censustract
if censustract is not None:
geoids_by_record[recordnum] = year + censustract
state = line[27:29]
Expand Down

0 comments on commit 49a31dc

Please sign in to comment.