Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
fstwn committed Jul 6, 2020
1 parent 38a1677 commit de9fdb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/Cockatoo/KnitNetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,9 @@ def CreateFinalWarpConnections(self, max_connections=4, include_end_nodes=True,
# retrieve target chain from the source to target mapping
target_chain = source_to_target[current_chain]

cckey = source_to_key[current_chain]
tckey = target_to_key[target_chain]

# build a list of nodes containing all nodes in the target chain
# including all 'end' nodes
target_chain_nodes = []
Expand All @@ -2173,9 +2176,6 @@ def CreateFinalWarpConnections(self, max_connections=4, include_end_nodes=True,
# initialize start of window marker
start_of_window = -1

cckey = source_to_key[current_chain]
tckey = target_to_key[target_chain]

# loop through all nodes on the current chain
for k, node in enumerate(current_chain_nodes):
# find out if the current node is already principally connected
Expand Down

0 comments on commit de9fdb6

Please sign in to comment.