Skip to content

Commit 6876a38

Browse files
committed
removing package_check('networkx'
1 parent 33758eb commit 6876a38

File tree

7 files changed

+2
-10
lines changed

7 files changed

+2
-10
lines changed

examples/dmri_dtk_dti.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
package_check('numpy', '1.3', 'tutorial1')
3939
package_check('scipy', '0.7', 'tutorial1')
40-
package_check('networkx', '1.0', 'tutorial1')
4140
package_check('IPython', '0.10', 'tutorial1')
4241

4342

examples/dmri_dtk_odf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
package_check('numpy', '1.3', 'tutorial1')
3939
package_check('scipy', '0.7', 'tutorial1')
40-
package_check('networkx', '1.0', 'tutorial1')
4140
package_check('IPython', '0.10', 'tutorial1')
4241

4342

examples/dmri_fsl_dti.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
package_check('numpy', '1.3', 'tutorial1')
3939
package_check('scipy', '0.7', 'tutorial1')
40-
package_check('networkx', '1.0', 'tutorial1')
4140
package_check('IPython', '0.10', 'tutorial1')
4241

4342

examples/fmri_slicer_coregistration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
package_check('numpy', '1.3', 'tutorial1')
3939
package_check('scipy', '0.7', 'tutorial1')
40-
package_check('networkx', '1.0', 'tutorial1')
4140
package_check('IPython', '0.10', 'tutorial1')
4241

4342
"""The nipype tutorial contains data for two subjects. Subject data

nipype/pipeline/engine/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@
2323
import pickle
2424
from functools import reduce
2525
import numpy as np
26-
from ...utils.misc import package_check
2726
from distutils.version import LooseVersion
2827

29-
package_check('networkx', '1.3')
30-
3128
import networkx as nx
3229

3330
from ...utils.filemanip import (fname_presuffix, FileNotFoundError, to_str,

nipype/pipeline/engine/workflows.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737

3838
from ... import config, logging
39-
from ...utils.misc import (unflatten, package_check, str2bool,
39+
from ...utils.misc import (unflatten, str2bool,
4040
getsource, create_function_from_source)
4141
from ...interfaces.base import (traits, InputMultiPath, CommandLine,
4242
Undefined, TraitedSpec, DynamicTraitedSpec,
@@ -58,7 +58,6 @@
5858
from .base import EngineBase
5959
from .nodes import Node, MapNode
6060

61-
package_check('networkx', '1.3')
6261
logger = logging.getLogger('workflow')
6362

6463
class Workflow(EngineBase):

nipype/utils/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def package_check(pkg_name, version=None, app=None, checker=LooseVersion,
188188
Examples
189189
--------
190190
package_check('numpy', '1.3')
191-
package_check('networkx', '1.0', 'tutorial1')
191+
package_check('scipy', '0.7', 'tutorial1')
192192
193193
"""
194194

0 commit comments

Comments
 (0)