mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:03:57 +08:00
Merge branch 'wf-step-index' of github.com:simonbray/galaxy into wf-step-index
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user