Skip to content

Commit

Permalink
Switch empty dfk() error from ConfigurationError to NoDataFlowKernelE…
Browse files Browse the repository at this point in the history
…rror (#2890)

This is in support of
#2873 (comment)
  • Loading branch information
benclifford authored Sep 21, 2023
1 parent d7f0830 commit c789262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsl/dataflow/dflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,5 +1438,5 @@ def wait_for_current_tasks(cls) -> None:
def dfk(cls) -> DataFlowKernel:
"""Return the currently-loaded DataFlowKernel."""
if cls._dfk is None:
raise ConfigurationError('Must first load config')
raise NoDataFlowKernelError('Must first load config')
return cls._dfk

0 comments on commit c789262

Please sign in to comment.