Skip to content

Commit 9f2f094

Browse files
committed
fix: resolved conflict
2 parents 213bbc9 + a95d2db commit 9f2f094

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

doc/devel/provenance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ W3C PROV support
55
Overview
66
--------
77

8-
We're using the the `W3C PROV data model <http://www.w3.org/TR/prov-dm/`_ to
8+
We're using the the `W3C PROV data model <http://www.w3.org/TR/prov-dm/>`_ to
99
capture and represent provenance in Nipype.
1010

1111
For an overview see:

nipype/interfaces/afni/preprocess.py

100755100644
File mode changed.

nipype/interfaces/camino2trackvis/convert.py

100755100644
File mode changed.

nipype/interfaces/fsl/epi.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
<http://www.fmrib.ox.ac.uk/fsl/index.html>`_ command line tools. This
55
was written to work with FSL version 5.0.4.
66
7-
Examples
8-
--------
9-
See the docstrings of the individual classes for examples.
10-
7+
Change directory to provide relative paths for doctests
8+
>>> import os
9+
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
10+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
11+
>>> os.chdir(datadir)
1112
"""
1213

1314
import os

nipype/interfaces/fsl/model.py

100755100644
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,9 +1702,10 @@ def _list_outputs(self):
17021702
class GLMInputSpec(FSLCommandInputSpec):
17031703
in_file = File(exists=True, argstr='-i %s', mandatory=True, position=1,
17041704
desc='input file name (text matrix or 3D/4D image file)')
1705-
out_file = File(argstr='-o %s', genfile=True, position=3,
1705+
out_file = File(name_template="%s_glm.txt", argstr='-o %s', position=3,
17061706
desc=('filename for GLM parameter estimates'
1707-
+ ' (GLM betas)'))
1707+
+ ' (GLM betas)'),
1708+
name_source="in_file", keep_extension=True)
17081709
design = File(exists=True, argstr='-d %s', mandatory=True, position=2,
17091710
desc=('file name of the GLM design matrix (text time'
17101711
+ ' courses for temporal regression or an image'
@@ -1800,7 +1801,7 @@ class GLM(FSLCommand):
18001801
>>> import nipype.interfaces.fsl as fsl
18011802
>>> glm = fsl.GLM(in_file='functional.nii', design='maps.nii')
18021803
>>> glm.cmdline
1803-
'fsl_glm -d maps.nii -i functional.nii -o functional_glm.txt'
1804+
'fsl_glm -i functional.nii -d maps.nii -o functional_glm.txt'
18041805
18051806
"""
18061807
_cmd = 'fsl_glm'
@@ -1852,7 +1853,3 @@ def _list_outputs(self):
18521853

18531854
return outputs
18541855

1855-
def _gen_filename(self, name):
1856-
if name in ['out_file']:
1857-
return self._gen_fname(self.inputs.in_file, suffix='_glm')
1858-
return None

0 commit comments

Comments
 (0)