File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ Enhancements
53
53
* Improve error handling for ``img.__getitem__ `` (pr/533) (Ariel Rokem)
54
54
* Delegate reorientation to SpatialImage classes (pr/544) (Mark Hymers, CM,
55
55
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)
56
58
57
59
Bug fixes
58
60
---------
@@ -65,6 +67,7 @@ Bug fixes
65
67
Maintenance
66
68
-----------
67
69
70
+ * Fix documentation errors (pr/517, pr/536) (Fernando Perez, Venky Reddy)
68
71
* Documentation update (pr/514) (Ivan Gonzalez)
69
72
* Update testing to use pre-release builds of dependencies (pr/509) (MB)
70
73
* 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):
52
52
* Basile Pinsard
53
53
* `Satrajit Ghosh `_
54
54
* `Nolan Nichols `_
55
- * Nguyen, Ly
55
+ * Ly Nguyen
56
56
* Philippe Gervais
57
57
* Demian Wassermann
58
58
* Justin Lecher
@@ -78,6 +78,7 @@ contributed code and discussion (in rough order of appearance):
78
78
* Fernando Pérez García
79
79
* Venky Reddy
80
80
* Mark Hymers
81
+ * Jasper J.F. van den Bosch
81
82
82
83
License reprise
83
84
===============
Original file line number Diff line number Diff line change @@ -212,10 +212,12 @@ def test_annot():
212
212
@freesurfer_test
213
213
def test_label ():
214
214
"""Test IO of .label"""
215
- label_path = pjoin (data_path , "label" , "lh.BA1 .label" )
215
+ label_path = pjoin (data_path , "label" , "lh.cortex .label" )
216
216
label = read_label (label_path )
217
217
# 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 )
219
221
220
222
labels , scalars = read_label (label_path , True )
221
223
assert_true (np .all (labels == label ))
Original file line number Diff line number Diff line change 19
19
_version_major = 2
20
20
_version_minor = 2
21
21
_version_micro = 0
22
- _version_extra = 'dev'
23
- # _version_extra = ''
22
+ # _version_extra = 'dev'
23
+ _version_extra = ''
24
24
25
25
# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
26
26
__version__ = "%s.%s.%s%s" % (_version_major ,
You can’t perform that action at this time.
0 commit comments