Skip to content

Commit

Permalink
syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeckst committed Oct 31, 2018
1 parent 2d3be9a commit b7af888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pmda/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"""
from __future__ import absolute_import, division
import warnings

import numpy as np
import dask.bag as db
Expand Down Expand Up @@ -265,7 +266,7 @@ def run(self,
if n_jobs == -1:
if scheduler == 'multiprocessing':
n_jobs = cpu_count()
else
else:
try:
from dask import distributed
if isinstance(scheduler, distributed.Client):
Expand Down

0 comments on commit b7af888

Please sign in to comment.