Skip to content

Commit

Permalink
Yoink silly prints
Browse files Browse the repository at this point in the history
  • Loading branch information
npaun committed May 8, 2024
1 parent 9c48295 commit ee342d2
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions blocks_to_transfers/simplify_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def find_paths(graph):


def add_path_to_graph(t_graph, last_transition, days):
print('path through graph')
composite_nodes = {}
parent_days = days
current_transition = last_transition
Expand All @@ -170,23 +169,6 @@ def add_path_to_graph(t_graph, last_transition, days):
parent_days = t_graph.services.days_in_from_frame(
parent_transition.trip, current_transition.trip, parent_days)


if (parent_transition.trip.trip_id == '38912020' and last_transition.trip.trip_id == '73180020'):
print(parent_transition.trip.trip_id, last_transition.trip.trip_id)
print(t_graph.services.bdates(days))
print(t_graph.services.bdates(parent_days))
if (parent_transition.trip.trip_id == '38912020' and last_transition.trip.trip_id == '19526070'):
print(parent_transition.trip.trip_id, last_transition.trip.trip_id)
print(t_graph.services.bdates(days))
print(t_graph.services.bdates(parent_days))
if (parent_transition.trip.trip_id == '35863070' and last_transition.trip.trip_id == '19526070'):
print(parent_transition.trip.trip_id, last_transition.trip.trip_id)
print(t_graph.services.bdates(days))
print(t_graph.services.bdates(parent_days))
if (parent_transition.trip.trip_id == 'trip_0'):
print('Parent Transition', parent_transition.trip.trip_id, last_transition.trip.trip_id)
print('Parent Transition Days', t_graph.services.bdates(days))
print('Parent Transition Parent Days', t_graph.services.bdates(parent_days))
transfer = parent_transition.out_edges[current_transition.node]
parent_split_node = get_path_node(t_graph, composite_nodes,
parent_transition, parent_days)
Expand Down

0 comments on commit ee342d2

Please sign in to comment.