File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff 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
5759Bug fixes
5860---------
@@ -65,6 +67,7 @@ Bug fixes
6567Maintenance
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)
Original file line number Diff line number Diff 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
8283License reprise
8384===============
Original file line number Diff line number Diff line change @@ -212,10 +212,12 @@ def test_annot():
212212@freesurfer_test
213213def 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 ))
Original file line number Diff line number Diff line change 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 ,
You can’t perform that action at this time.
0 commit comments