Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions basisopt/parallelise.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
from . import api
from .util import bo_logger

if api._PARALLEL:

try:
from distributed import Client, LocalCluster, wait
else:
except ImportError:
bo_logger.warning("Dask not installed, parallelisation not available")


Expand Down
Loading