Skip to content

Commit

Permalink
remove todo, moved to task
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor Baart committed Feb 29, 2024
1 parent 5b9e574 commit 6480aec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions opentnsim/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1589,9 +1589,6 @@ def leave_lineup_area(vessel, start_node, end_node):
# Vessel releases its request to enter the line-up area, made in the waiting area
lineup_area.enter_line_up_area[start_node].release(vessel.lock_information[lock.name].enter_lineup_length)

# Find next lineup_area
opposing_lineup_area = lock.find_next_lineup_area(vessel, direction)

def access_lock_chamber(
vessel,
direction,
Expand Down Expand Up @@ -2182,7 +2179,6 @@ def leave_opposite_lineup_area(vessel, start_node, end_node, direction):
if lineup_area.name not in vessel.lock_information.keys():
continue

# TODO: check if direction=direction works
lock, direction = lineup_area.find_lock(vessel, start_node, end_node, direction=direction)

if direction:
Expand Down

0 comments on commit 6480aec

Please sign in to comment.