Skip to content

Commit

Permalink
Use color instead of leader
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjurfeldt committed Dec 7, 2021
1 parent 28aa727 commit 6cd8cd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions music-config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def register (self, portName, direction, width, *connection):
connections.append (connection)

def conf (self):
conf = str (len (self.ports))
conf = str (len (self.ports)) # size
for portName in self.ports:
(direction, width, connections) = self.ports[portName]
conf += ':' + portName + ':' + direction + ':' + width
Expand Down Expand Up @@ -211,12 +211,12 @@ def connect (fromApp, fromPort, toApp, toPort, width,
fromApp.connectivityMap.register (fromPort, OUTPUT, width,
toApp.name, toPort,
str (portCode (toApp.name, toPort)),
str (toApp.leader), str (toApp.np),
str (toApp.number), str (toApp.np),
str (commAlg), str (procMethod))
toApp.connectivityMap.register (toPort, INPUT, width,
toApp.name, toPort,
str (portCode (toApp.name, toPort)),
str (fromApp.leader), str (fromApp.np),
str (fromApp.number), str (fromApp.np),
str (commAlg), str (procMethod))


Expand Down

0 comments on commit 6cd8cd6

Please sign in to comment.