File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 10
10
IPython_not_loaded = False
11
11
try :
12
12
from IPython import __version__ as IPyversion
13
- from IPython . parallel .error import TimeoutError
13
+ from ipyparallel .error import TimeoutError
14
14
except :
15
15
IPython_not_loaded = True
16
16
@@ -42,7 +42,7 @@ class IPythonPlugin(DistributedPluginBase):
42
42
43
43
def __init__ (self , plugin_args = None ):
44
44
if IPython_not_loaded :
45
- raise ImportError ('IPython parallel could not be imported' )
45
+ raise ImportError ('ipyparallel could not be imported' )
46
46
super (IPythonPlugin , self ).__init__ (plugin_args = plugin_args )
47
47
self .iparallel = None
48
48
self .taskclient = None
@@ -51,11 +51,11 @@ def __init__(self, plugin_args=None):
51
51
52
52
def run (self , graph , config , updatehash = False ):
53
53
"""Executes a pre-defined pipeline is distributed approaches
54
- based on IPython's parallel processing interface
54
+ based on IPython's ipyparallel processing interface
55
55
"""
56
56
# retrieve clients again
57
57
try :
58
- name = 'IPython.parallel '
58
+ name = 'ipyparallel '
59
59
__import__ (name )
60
60
self .iparallel = sys .modules [name ]
61
61
except ImportError :
Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ class IPythonXPlugin(DistributedPluginBase):
21
21
22
22
def __init__ (self , plugin_args = None ):
23
23
if IPython_not_loaded :
24
- raise ImportError ('IPython parallel could not be imported' )
24
+ raise ImportError ('ipyparallel could not be imported' )
25
25
super (IPythonXPlugin , self ).__init__ (plugin_args = plugin_args )
26
26
self .ipyclient = None
27
27
self .taskclient = None
28
28
29
29
def run (self , graph , config , updatehash = False ):
30
30
"""Executes a pre-defined pipeline is distributed approaches
31
- based on IPython's parallel processing interface
31
+ based on IPython's ipyparallel processing interface
32
32
"""
33
33
# retrieve clients again
34
34
try :
You can’t perform that action at this time.
0 commit comments