Skip to content

Commit 682248a

Browse files
committed
updating exceptions and __init__; updating logger to the current version in nipype
1 parent f568d78 commit 682248a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

nipype/exceptions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ class NipypeError(Exception):
22
pass
33

44

5+
class EngineError(Exception):
6+
pass
7+
8+
59
class PipelineError(NipypeError):
610
pass
711

nipype/pipeline/engine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
from __future__ import absolute_import
1111
__docformat__ = 'restructuredtext'
12-
from .workflows import Workflow
12+
from .workflows import Workflow, NewNode, NewWorkflow
1313
from .nodes import Node, MapNode, JoinNode
1414
from .utils import generate_expanded_graph

nipype/pipeline/engine/auxiliary.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pdb
22
import inspect
3-
from .. import config, logging
4-
logger = logging.getLogger('workflow')
3+
from ... import config, logging
4+
logger = logging.getLogger('nipype.workflow')
55

66

77
# Function to change user provided mapper to "reverse polish notation" used in State

0 commit comments

Comments
 (0)