@@ -167,7 +167,7 @@ def read_nodes(input_dir,
167167 zone_to_node_dict ):
168168
169169 """ step 1: read input_node """
170- with open (input_dir + '/node.csv' , 'r' , encoding = 'utf-8' ) as fp :
170+ with open (input_dir + '/node.csv' , 'r' ) as fp :
171171 print ('read node.csv' )
172172
173173 reader = csv .DictReader (fp )
@@ -222,7 +222,7 @@ def read_links(input_dir,
222222 load_demand ):
223223
224224 """ step 2: read input_link """
225- with open (input_dir + '/link.csv' , 'r' , encoding = 'utf-8' ) as fp :
225+ with open (input_dir + '/link.csv' , 'r' ) as fp :
226226 print ('read link.csv' )
227227
228228 reader = csv .DictReader (fp )
@@ -418,7 +418,7 @@ def read_demand(input_dir,
418418 column_pool ):
419419
420420 """ step 3:read input_agent """
421- with open (input_dir + '/' + file , 'r' , encoding = 'utf-8' ) as fp :
421+ with open (input_dir + '/' + file , 'r' ) as fp :
422422 print ('read demand.csv' )
423423
424424 at = agent_type_id
@@ -592,7 +592,7 @@ def read_network(load_demand='true', input_dir='.'):
592592
593593def load_columns (ui , input_dir = '.' ):
594594 """ developer note: do we use agent.csv to set up network? """
595- with open (input_dir + '/agent.csv' , 'r' , encoding = 'utf-8' ) as f :
595+ with open (input_dir + '/agent.csv' , 'r' ) as f :
596596 print ('read agent.csv' )
597597
598598 A = ui ._base_assignment
0 commit comments