-
Notifications
You must be signed in to change notification settings - Fork 95
traceback: no tasks #7136
Copy link
Copy link
Open
Labels
bugSomething is wrong :(Something is wrong :(
Milestone
Description
This example validates:
[scheduling]
[[graph]]
R1 = """
# no comment
"""But if you tried to run it:
data_store_mgr.py", line 841, in generate_definition_elements
workflow.tree_depth = max([
^^^^^
ValueError: max() iterable argument is empty
Yikes!
Ideally:
- Cylc validate would catch the empty graph and fail.
- The data store would be robust against a workflow with no tasks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is wrong :(Something is wrong :(