Skip to content

Commit ea5c499

Browse files
authored
Merge pull request #555 from nipy/rel/2.2.0
2.2.0 release prep
2 parents 8c1d0bc + 2ca6848 commit ea5c499

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

Changelog

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ Enhancements
5353
* Improve error handling for ``img.__getitem__`` (pr/533) (Ariel Rokem)
5454
* Delegate reorientation to SpatialImage classes (pr/544) (Mark Hymers, CM,
5555
reviewed by MB)
56+
* Enable using ``indexed_gzip`` to reduce memory usage when reading from
57+
gzipped NIfTI and MGH files (pr/552) (Paul McCarthy, reviewed by MB, CM)
5658

5759
Bug fixes
5860
---------
@@ -65,6 +67,7 @@ Bug fixes
6567
Maintenance
6668
-----------
6769

70+
* Fix documentation errors (pr/517, pr/536) (Fernando Perez, Venky Reddy)
6871
* Documentation update (pr/514) (Ivan Gonzalez)
6972
* Update testing to use pre-release builds of dependencies (pr/509) (MB)
7073
* Better warnings when nibabel not on path (pr/503) (MB)

doc/source/index.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ contributed code and discussion (in rough order of appearance):
5252
* Basile Pinsard
5353
* `Satrajit Ghosh`_
5454
* `Nolan Nichols`_
55-
* Nguyen, Ly
55+
* Ly Nguyen
5656
* Philippe Gervais
5757
* Demian Wassermann
5858
* Justin Lecher
@@ -78,6 +78,7 @@ contributed code and discussion (in rough order of appearance):
7878
* Fernando Pérez García
7979
* Venky Reddy
8080
* Mark Hymers
81+
* Jasper J.F. van den Bosch
8182

8283
License reprise
8384
===============

nibabel/freesurfer/tests/test_io.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,12 @@ def test_annot():
212212
@freesurfer_test
213213
def test_label():
214214
"""Test IO of .label"""
215-
label_path = pjoin(data_path, "label", "lh.BA1.label")
215+
label_path = pjoin(data_path, "label", "lh.cortex.label")
216216
label = read_label(label_path)
217217
# XXX : test more
218-
assert_true(np.all(label > 0))
218+
assert_true(label.min() >= 0)
219+
assert_true(label.max() <= 163841)
220+
assert_true(label.shape[0] <= 163842)
219221

220222
labels, scalars = read_label(label_path, True)
221223
assert_true(np.all(labels == label))

nibabel/info.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
_version_major = 2
2020
_version_minor = 2
2121
_version_micro = 0
22-
_version_extra = 'dev'
23-
# _version_extra = ''
22+
# _version_extra = 'dev'
23+
_version_extra = ''
2424

2525
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
2626
__version__ = "%s.%s.%s%s" % (_version_major,

0 commit comments

Comments
 (0)