Skip to content

Commit

Permalink
Fix minor error when attempting reset with no active workflows (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
pagrubel authored Mar 26, 2024
1 parent 2022ca0 commit f38fe75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beeflow/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ def reset(archive: bool = typer.Option(False, '--archive', '-a',
# Check workflow states; warn if there are active states.
workflow_list = bee_client.get_wf_list()
active_states = {'Running', 'Paused', 'Initializing', 'Waiting'}
caution = ""
if {item for row in workflow_list for item in row}.intersection(active_states):
caution = """
**************************************************************
Expand Down

0 comments on commit f38fe75

Please sign in to comment.