Skip to content

Commit 04d1305

Browse files
author
bpinsard
committed
Merge branch 'master' into spm/gzip
* master: (76 commits) fixed paths Back to dev 0.7 release Code cleanup. doc: updated inputs help to indicate FSL and AFNI inaccuracy when using bounds_by_brainmask Fix nipy#493 Fixes nipy#459 fixed doctests changelog fix: ants workflows setup BF: Fixed several issues with GroupAndStack interface DOC: Various clean up an improvements to docstrings. DOC: Added example to LookupMeta docstring ENH: Allow meta_keys input to LookupMeta be a mapping. minor fixes deprecated version should be a string, added AFNITraitedSpec for backward compatibility docs PEP8 name_source can be a list, make "infolder" a deprecated name Removed unnecessary outputsspecs ...
2 parents ea2fc70 + b36cc9c commit 04d1305

File tree

33 files changed

+1816
-1035
lines changed

33 files changed

+1816
-1035
lines changed

CHANGES

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
Next release
22
============
33

4+
5+
Release 0.7.0 (Dec 18, 2012)
6+
============================
7+
48
* ENH: Add basic support for LSF plugin.
5-
* ENH: New interfaces: ICC, Meshfix, ants.Register, C3dAffineTool, ants.JacobianDeterminant
9+
* ENH: New interfaces: ICC, Meshfix, ants.Register, C3dAffineTool, ants.JacobianDeterminant,
10+
afni.AutoTcorrelate, DcmStack
611
* ENH: New workflows: ants template building (both using 'ANTS' and the new 'antsRegistration')
712
* ENH: New examples: how to use ANTS template building workflows (smri_ants_build_tmeplate),
813
how to set SGE specific options (smri_ants_build_template_new)
914
* ENH: added no_flatten option to Merge
15+
* ENH: added versioning option and checking to traits
1016
* ENH: added deprecation metadata to traits
1117
* ENH: Slicer interfaces were updated to version 4.1
1218

doc/_templates/sidebar_versions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>{{ _('Versions') }}</h3>
1717
<td align="left">Release</td><td align="right">Devel</td>
1818
</tr>
1919
<tr>
20-
<td align="left">0.6.0</td><td align="right">pre-0.7</td>
20+
<td align="left">0.7.0</td><td align="right">pre-0.8</td>
2121
</tr>
2222
<tr>
2323
<td align="left"><a href="{{pathto('users/install')}}">Download</a></td>

doc/devel/interface_specs.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,15 @@ Common
263263
should be symlinked, while `True` indicates that the contents should be
264264
copied over.
265265

266-
``deprecated``
266+
``min_ver`` and ``max_ver``
267+
These metadata determine if a particular trait will be available when a
268+
given version of the underlying interface runs. Note that this check is
269+
performed at runtime.::
270+
271+
class RealignInputSpec(BaseInterfaceInputSpec):
272+
jobtype = traits.Enum('estwrite', 'estimate', 'write', min_ver='5',
273+
usedefault=True)
274+
``deprecated`` and ``new_name``
267275
This is metadata for removing or renaming an input field from a spec.::
268276

269277
class RealignInputSpec(BaseInterfaceInputSpec):
@@ -277,8 +285,8 @@ Common
277285
from current release. Raises `TraitError` after package version crosses the
278286
deprecation version.
279287

280-
``new_name``
281-
For inputs that are being renamed, one can specify the new name of the field.::
288+
For inputs that are being renamed, one can specify the new name of the
289+
field.::
282290

283291
class RealignInputSpec(BaseInterfaceInputSpec):
284292
jobtype = traits.Enum('estwrite', 'estimate', 'write',
@@ -293,6 +301,11 @@ Common
293301
When `new_name` is provided it must exist as a trait, otherwise an exception
294302
will be raised.
295303

304+
.. note::
305+
306+
The version information for `min_ver`, `max_ver` and `deprecated` has to be
307+
provided as a string. For example, `min_ver='0.1'`.
308+
296309
CommandLine
297310
^^^^^^^^^^^
298311

doc/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Documentation
99
:Release: |version|
1010
:Date: |today|
1111

12-
Previous versions: `0.5.3 <http://nipy.org/nipype/0.5.3>`_ `0.4.1 <http://nipy.org/nipype/0.4.1>`_
12+
Previous versions: `0.6 <http://nipy.org/nipype/0.6>`_ `0.5.3 <http://nipy.org/nipype/0.5.3>`_
1313

1414
.. container:: doc2
1515

doc/users/config_file.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ Execution
109109
data through (without copying) (possible values: ``true`` and
110110
``false``; default value: ``false``)
111111

112+
*stop_on_unknown_version*
113+
If this is set to True, an underlying interface will raise an error, when no
114+
version information is available. Please notify developers or submit a
115+
patch.
116+
112117
Example
113118
~~~~~~~
114119

doc/users/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This page covers the necessary steps to install Nipype.
99
Download
1010
--------
1111

12-
Release 0.6.0: [`zip <http://github.com/nipy/nipype/zipball/0.6.0>`_ `tar
13-
<http://github.com/nipy/nipype/tarball/0.6.0>`_]
12+
Release 0.7.0: [`zip <https://github.com/nipy/nipype/archive/0.7.zip>`_ `tar.gz
13+
<https://github.com/nipy/nipype/archive/0.7.tar.gz>`_]
1414

1515
Development: [`zip <http://github.com/nipy/nipype/zipball/master>`_ `tar
1616
<http://github.com/nipy/nipype/tarball/master>`_]

0 commit comments

Comments
 (0)