Skip to content

Commit 34c3b8b

Browse files
committed
Merge pull request #1458 from satra/fix/rtd-make-check
cleaning up a few build and test elements
2 parents d6be1d5 + 002b836 commit 34c3b8b

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ nipype/testing/data/von_errmap.nii.gz
2121
crash*.pklz
2222
.coverage
2323
htmlcov/
24+
__pycache__/
25+
*~
26+
.ipynb_checkpoints/
27+
.ruby-version

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ language: python
44
python:
55
- 2.7
66
- 3.4
7+
- 3.5
78
env:
89
- INSTALL_DEB_DEPENDECIES=true
910
- INSTALL_DEB_DEPENDECIES=false
@@ -39,7 +40,7 @@ install:
3940
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
4041
- source activate testenv
4142
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
42-
- conda install --yes numpy scipy nose networkx dateutil
43+
- conda install --yes numpy scipy nose networkx python-dateutil
4344
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
4445
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
4546
- pip install python-coveralls

doc/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141

4242
# Add any Sphinx extension module names here, as strings. They can be extensions
4343
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
44-
extensions = ['readthedocs_ext.readthedocs',
45-
'sphinx.ext.todo',
44+
extensions = ['sphinx.ext.todo',
4645
'sphinx.ext.pngmath',
4746
'sphinx.ext.inheritance_diagram',
4847
'sphinx.ext.graphviz',
@@ -56,6 +55,9 @@
5655
#'IPython.sphinxext.ipython_directive',
5756
#'IPython.sphinxext.ipython_console_highlighting'
5857
]
58+
on_rtd = os.environ.get('READTHEDOCS') == 'True'
59+
if on_rtd:
60+
extensions.append('readthedocs_ext.readthedocs')
5961

6062
# Add any paths that contain templates here, relative to this directory.
6163
templates_path = ['_templates']

nipype/info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def get_nipype_gitversion():
6161
"Operating System :: POSIX :: Linux",
6262
"Programming Language :: Python :: 2.7",
6363
"Programming Language :: Python :: 3.4",
64+
"Programming Language :: Python :: 3.5",
6465
"Topic :: Scientific/Engineering"]
6566

6667
description = 'Neuroimaging in Python: Pipelines and Interfaces'

nipype/workflows/smri/freesurfer/recon.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ def create_reconall_workflow(name="ReconAll", plugin_args=None):
107107
108108
Note:
109109
The input subject_id is not passed to the commands in the workflow. Commands
110-
that require subject_id are reading implicit inputs from
110+
that require subject_id are reading implicit inputs from
111111
{SUBJECTS_DIR}/{subject_id}. For those commands the subject_id is set to the
112112
default value and SUBJECTS_DIR is set to the node directory. The implicit
113113
inputs are then copied to the node directory in order to mimic a SUBJECTS_DIR
114114
structure. For example, if the command implicitly reads in brainmask.mgz, the
115-
interface would copy that input file to
116-
{node_dir}/{subject_id}/mri/brainmask.mgz and set SUBJECTS_DIR to node_dir.
117-
The workflow only uses the input subject_id to datasink the outputs to
115+
interface would copy that input file to
116+
{node_dir}/{subject_id}/mri/brainmask.mgz and set SUBJECTS_DIR to node_dir.
117+
The workflow only uses the input subject_id to datasink the outputs to
118118
{subjects_dir}/{subject_id}.
119119
"""
120120
reconall = pe.Workflow(name=name)

0 commit comments

Comments
 (0)