Merge branch 'wf-step-index' of github.com:simonbray/galaxy into wf-step-index

This commit is contained in:
Simon Bray
2022-05-05 16:10:29 +02:00
+1 -1
View File
@@ -28,7 +28,7 @@ def order_workflow_steps(steps):
"""
Perform topological sort of the steps, return ordered or None
"""
position_data_available = True if steps else False
position_data_available = bool(steps)
for step in steps:
if not step.position or "left" not in step.position or "top" not in step.position:
position_data_available = False