Skip to content

Commit

Permalink
Merge pull request #811 from lanl/config-new-fix
Browse files Browse the repository at this point in the history
Fix beeflow config new error
  • Loading branch information
rstyd authored Apr 1, 2024
2 parents 88fe045 + d1d89a7 commit 21ebe65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions beeflow/client/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
from beeflow.common.db.bdb import connect_db
from beeflow.wf_manager.common import dep_manager

db_path = wf_utils.get_db_path()


class ComponentManager:
"""Component manager class."""
Expand Down Expand Up @@ -467,6 +465,7 @@ def stop(query='yes'):

def kill_active_workflows(active_states, workflow_list):
"""Kill workflows with active states."""
db_path = wf_utils.get_db_path()
db = connect_db(wfm_db, db_path)
success = True
for name, wf_id, state in workflow_list:
Expand Down

0 comments on commit 21ebe65

Please sign in to comment.