Skip to content

Commit

Permalink
Update nipype/pipeline/engine/workflows.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
DimitriPapadopoulos and effigies authored May 6, 2024
1 parent df4d265 commit d9bee32
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions nipype/pipeline/engine/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,11 +1066,9 @@ def _get_dot(
if colored:
dotlist.extend(
(
prefix
+ prefix
+ 'edge [color="%s"];' % (colorset[level + 1]),
prefix + prefix + "style=filled;",
prefix + prefix + 'fillcolor="%s";' % (colorset[level + 2]),
f'{prefix * 2}edge [color="{colorset[level + 1]}"];',
f"{prefix * 2}style=filled;",
f'{prefix * 2}fillcolor="{colorset[level + 2]}";',
)
)
dotlist.extend(
Expand Down

0 comments on commit d9bee32

Please sign in to comment.