@@ -202,14 +202,14 @@ def read_nodes(input_dir,
202202
203203 node_seq_no += 1
204204
205- print (f" the number of nodes is { node_seq_no } " )
205+ print (f' the number of nodes is { node_seq_no } ' )
206206
207207 zone_size = len (zone_to_node_dict )
208208 # do not count virtual zone with id as -1
209209 if - 1 in zone_to_node_dict .keys ():
210210 zone_size -= 1
211211
212- print (f" the number of zones is { zone_size } " )
212+ print (f' the number of zones is { zone_size } ' )
213213
214214
215215def read_links (input_dir ,
@@ -250,8 +250,8 @@ def read_links(input_dir,
250250 from_node_no = id_to_no_dict [from_node_id ]
251251 to_node_no = id_to_no_dict [to_node_id ]
252252 except KeyError :
253- print (f" EXCEPTION: Node ID { from_node_id } "
254- f" or/and Node ID { to_node_id } NOT IN THE NETWORK!!" )
253+ print (f' EXCEPTION: Node ID { from_node_id } '
254+ f' or/and Node ID { to_node_id } NOT IN THE NETWORK!!' )
255255 continue
256256
257257 # for the following attributes,
@@ -407,7 +407,7 @@ def read_links(input_dir,
407407
408408 link_seq_no += 1
409409
410- print (f" the number of links is { link_seq_no } " )
410+ print (f' the number of links is { link_seq_no } ' )
411411
412412
413413def read_demand (input_dir ,
@@ -463,7 +463,7 @@ def read_demand(input_dir,
463463
464464 total_agents += int (volume + 1 )
465465
466- print (f" the number of agents is { total_agents } " )
466+ print (f' the number of agents is { total_agents } ' )
467467
468468 if total_agents == 0 :
469469 raise Exception ('NO VALID OD VOLUME!! DOUBLE CHECK YOUR demand.csv' )
0 commit comments