Skip to content

FIX: Set networkx max version until 2.0 fixes are finalized #2195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion nipype/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def get_nipype_gitversion():
# versions
NIBABEL_MIN_VERSION = '2.1.0'
NETWORKX_MIN_VERSION = '1.9'
NETWORKX_MAX_VERSION = '1.11'
NUMPY_MIN_VERSION = '1.9.0'
SCIPY_MIN_VERSION = '0.14'
TRAITS_MIN_VERSION = '4.6'
Expand Down Expand Up @@ -129,7 +130,7 @@ def get_nipype_gitversion():
PROVIDES = ['nipype']
REQUIRES = [
'nibabel>=%s' % NIBABEL_MIN_VERSION,
'networkx>=%s' % NETWORKX_MIN_VERSION,
'networkx>=%s,<=%s' % (NETWORKX_MIN_VERSION, NETWORKX_MAX_VERSION),
'numpy>=%s' % NUMPY_MIN_VERSION,
'python-dateutil>=%s' % DATEUTIL_MIN_VERSION,
'scipy>=%s' % SCIPY_MIN_VERSION,
Expand Down
26 changes: 13 additions & 13 deletions nipype/interfaces/afni/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1428,23 +1428,23 @@ class HistOutputSpec(TraitedSpec):


class Hist(AFNICommandBase):
"""Computes average of all voxels in the input dataset
which satisfy the criterion in the options list
# """Computes average of all voxels in the input dataset
# which satisfy the criterion in the options list

For complete details, see the `3dHist Documentation.
<https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dHist.html>`_
# For complete details, see the `3dHist Documentation.
# <https://afni.nimh.nih.gov/pub/dist/doc/program_help/3dHist.html>`_

Examples
========
# Examples
# ========

>>> from nipype.interfaces import afni
>>> hist = afni.Hist()
>>> hist.inputs.in_file = 'functional.nii'
>>> hist.cmdline # doctest: +ALLOW_UNICODE
'3dHist -input functional.nii -prefix functional_hist'
>>> res = hist.run() # doctest: +SKIP
# >>> from nipype.interfaces import afni
# >>> hist = afni.Hist()
# >>> hist.inputs.in_file = 'functional.nii'
# >>> hist.cmdline # doctest: +ALLOW_UNICODE
# '3dHist -input functional.nii -prefix functional_hist'
# >>> res = hist.run() # doctest: +SKIP

"""
# """

_cmd = '3dHist'
input_spec = HistInputSpec
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.9.0
scipy>=0.11
networkx>=1.7
networkx>=1.9,<=1.11
traits>=4.6
python-dateutil>=1.5
nibabel>=2.1.0
Expand Down
2 changes: 1 addition & 1 deletion rtd_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.6.2
scipy>=0.11
networkx>=1.7
networkx>=1.9,<=1.11
traits>=4.6
python-dateutil>=1.5
nibabel>=2.1.0
Expand Down