Skip to content

Commit

Permalink
misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
janowicz committed Jun 13, 2017
1 parent ab57fde commit 2fee6d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion variable_generators/generators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import print_function

import numpy as np
import pandas as pd

import orca
Expand Down Expand Up @@ -169,7 +170,7 @@ def make_density_var(agent, geog):
@orca.column(geog, var_name, cache=True, cache_scope='iteration')
def func():
locations = orca.get_table(geog)
print ('Calculating density of {} for {}').format(agent, geog)
print('Calculating density of {} for {}'.format(agent, geog))
if geog != 'blocks':
series = locations['total_' + agent] * 1.0 / (
locations['sum_acres'] + 1.0)
Expand Down

0 comments on commit 2fee6d1

Please sign in to comment.