Skip to content

Commit

Permalink
fix graph names
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Apr 17, 2024
1 parent 5b63996 commit 719599d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/workflows/risk_networks/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,9 @@ def create():
node.title = rec[1] + '\n' + node.title.split('\n')[1]

for rec in sv.network_attributes_renamed.value:
if rec[0] in node.label:
node.label = rec[1] + '\n' + node.label.split('\n')[1]
node.title = rec[1] + '\n' + node.title.split('\n')[1]
if rec[0].split('==')[1] in node.label:
node.label = rec[1].split('==')[1] + '\n' + node.label.split('\n')[1]
node.title = rec[1].split('==')[1] + '\n' + node.title.split('\n')[1]
new_nodes.append(node)
else:
new_nodes = nodes
Expand Down

0 comments on commit 719599d

Please sign in to comment.