Skip to content

Commit a8c4c61

Browse files
committed
fix EDGECOLORS reference in workflow visualize
1 parent d1cbd66 commit a8c4c61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is a bugfix release fixing an issue with cycle detection in workflows.
2626
Bug Fixes
2727
~~~~~~~~~
2828

29-
- **core:** prevent creating cycles when creating/executing workflows.
29+
- **core:** prevent creating cycles when creating/executing workflows. Fix color in `workflow visualize`.
3030
(`#2785 <https://github.com/SwissDataScienceCenter/renku-python/pull/2785>`__)
3131

3232
`1.1.3 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.1.2...v1.1.3>`__ (2022-03-25)

renku/core/commands/view_model/activity_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _add_edges_to_canvas(
146146

147147
colors = {e.color for e in intersecting_edges}
148148

149-
if len(colors) < len(EdgeShape.EDGE_COLORS):
149+
if len(colors) < len(EdgeShape.COLORS):
150150
while edge_color in colors:
151151
edge_color = EdgeShape.next_color()
152152
for e in new_edges:

0 commit comments

Comments
 (0)