Skip to content

Commit 8b9dc10

Browse files
committed
Fix data name
1 parent bf4d30b commit 8b9dc10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

preciceconfigvisualizer/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def lookupParticipantColor(name):
299299
meshNode = f"{name}-{mesh}"
300300
data = read.attrib["name"]
301301
if data_access == "full":
302-
label = data + f" (JIT {jit_from[mesh]})" if mesh in jit_from else ""
302+
label = data + (f" (JIT {jit_from[mesh]})" if mesh in jit_from else "")
303303
addEdge(
304304
participant,
305305
meshNode,
@@ -320,7 +320,7 @@ def lookupParticipantColor(name):
320320
meshNode = f"{name}-{mesh}"
321321
data = write.attrib["name"]
322322
if data_access == "full":
323-
label = data + f" (JIT {jit_to[mesh]})" if mesh in jit_to else ""
323+
label = data + (f" (JIT {jit_to[mesh]})" if mesh in jit_to else "")
324324
addEdge(
325325
participant,
326326
name,

0 commit comments

Comments
 (0)