Skip to content

Commit

Permalink
process improvements from sonarcube
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor Baart committed Feb 29, 2024
1 parent aefe99a commit 833b14c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions opentnsim/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,6 @@ def access_lock_chamber(
lineup_area,
lock,
approach_node,
opposing_lineup_area,
door1,
door2,
node_door1,
Expand All @@ -1617,10 +1616,6 @@ def access_lock_chamber(
- lock: an object within the network which is generated with the IsLock mixin class and
assigned to the vessel as the lock series with the least expected total waiting time
- approach_node: a string which includes the name of the node at which the lock chamber is located in the network
- opposing_lineup_area: an object within the network which is generated with the IsLineUpArea mixin class and
assigned to the vessel to be entered when leaving the lock chamber
- node_opposing_lineup_area: a string which includes the name of the node at which the line-up area is located on the
opposite side of the lock chamber in the network
- door1: an object created in the IsLock class which resembles the set of lock doors which is first encountered by
the vessel, which should be supscripted to, using a string which includes the name of the node at which this
lock door is located in the network and was specified as input in the IsLock class
Expand Down Expand Up @@ -1824,7 +1819,6 @@ def wait_for_next_lockage(vessel, direction, lock, door2, timeout_required=True,
lineup_area,
lock,
lock.node_doors1,
opposing_lineup_area,
lock.doors_1[lock.node_doors1],
lock.doors_2[lock.node_doors2],
lock.node_doors1,
Expand All @@ -1845,7 +1839,6 @@ def wait_for_next_lockage(vessel, direction, lock, door2, timeout_required=True,
lineup_area,
lock,
lock.node_doors2,
opposing_lineup_area,
lock.doors_2[lock.node_doors2],
lock.doors_1[lock.node_doors1],
lock.node_doors2,
Expand Down

0 comments on commit 833b14c

Please sign in to comment.