Releases: nipy/nibabel
2.5.1
Bug fix release for the 2.5.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
2.5.1 (Monday 23 September 2019)
The 2.5.x series is the last with support for either Python 2 or Python 3.4. Extended support for this series 2.5 will last through December 2020.
Enhancements
- Ignore endianness in
nib-diff
if values match (pr/799) (YOH, reviewed by CM)
Bug fixes
- Correctly handle Philips DICOMs w/ derived volume (pr/795) (Mathias Goncalves, reviewed by CM)
- Raise CSA tag limit to 1000, parametrize for future relaxing (pr/798, backported to 2.5.x in pr/800) (Henry Braun, reviewed by CM, MB)
- Coerce data types to match NIfTI intent codes when writing GIFTI data arrays (pr/806) (CM, reported by Tom Holroyd)
Maintenance
- Require h5py 2.10 for Windows + Python < 3.6 to resolve unexpected dtypes in Minc2 data (pr/804) (CM, reviewed by YOH)
API changes and deprecations
- Deprecate
nicom.dicomwrappers.Wrapper.get_affine()
in favor ofaffine
property; final removal in nibabel 4.0 (pr/796) (YOH, reviewed by CM)
2.5.0
New feature release in the 2.5.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
2.5.0 (Sunday 4 August 2019)
The 2.5.x series is the last with support for either Python 2 or Python 3.4. Extended support for this series 2.5 will last through December 2020.
Thanks for the test ECAT file and fix provided by Andrew Crabb.
Enhancements
- Add SerializableImage class with to/from_bytes methods (#644) (CM, reviewed by MB)
- Check CIFTI-2 data shape matches shape described by header (#774) (Michiel Cottaar, reviewed by CM)
Bug fixes
- Handle stricter numpy casting rules in tests (#768) (CM, reviewed by PM)
- TRK header fields flipped in files written on big-endian systems (#782) (CM, reviewed by YOH, MB)
- Load multiframe ECAT images with Python 3 (CM and Andrew Crabb)
Maintenance
- Fix CodeCov paths on Appveyor for more accurate coverage (#769) (CM)
- Move to setuptools and reduce use
nisext
functions (#764) (CM, reviewed by YOH) - Better handle test setup/teardown (#785) (CM, reviewed by YOH)
API changes and deprecations
- Effect threatened warnings and set some deprecation timelines (#755) (CM)
- Trackvis methods now default to v2 formats
nibabel.trackvis
scheduled for removal in nibabel 4.0nibabel.minc
andnibabel.MincImage
will be removed in nibabel 3.0
2.4.1
Bug fix release for the 2.4.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz
(CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul
McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG),
Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
References like "pr/298" refer to github pull request numbers.
2.4.1 (Monday 27 May 2019)
Contributions from Egor Pafilov, Jath Palasubramaniam, Richard Nemec, and
Dave Allured.
Enhancements
- Enable
mmap
,keep_file_open
options when loading any
DataobjImage
(pr/759) (CM, reviewed by PM)
Bug fixes
- Ensure loaded GIFTI files expose writable data arrays (pr/750) (CM,
reviewed by PM) - Safer warning registry manipulation when checking for overflows (pr/753)
(CM, reviewed by MB) - Correctly write .annot files with duplicate lables (pr/763) (Richard Nemec
with CM)
Maintenance
- Fix typo in coordinate systems doc (pr/751) (Egor Panfilov, reviewed by
CM) - Replace invalid MINC1 test file with fixed file (pr/754) (Dave Allured
with CM) - Update Sphinx config to support recent Sphinx/numpydoc (pr/749) (CM,
reviewed by PM) - Pacify
FutureWarning
andDeprecationWarning
from h5py, numpy
(pr/760) (CM) - Accommodate Python 3.8 deprecation of collections.MutableMapping
(pr/762) (Jath Palasubramaniam, reviewed by CM)
API changes and deprecations
- Deprecate
keep_file_open == 'auto'
(pr/761) (CM, reviewed by PM)
2.4.0
New feature release for the 2.4.x series.
Most work on NiBabel so far has been by Matthew Brett (MB), Chris Markiewicz (CM), Michael Hanke (MH), Marc-Alexandre Côté (MC), Ben Cipollini (BC), Paul McCarthy (PM), Chris Cheng (CC), Yaroslav Halchenko (YOH), Satra Ghosh (SG), Eric Larson (EL), Demian Wassermann, and Stephan Gerhard.
2.4.0 (Monday 1 April 2019)
New features
- Alternative
Axis
-based interface for manipulating CIFTI-2 headers (#641) (Michiel Cottaar, reviewed by Demian Wassermann, CM, SG)
Enhancements
- Accept TCK files produced by tools with other delimiter/EOF defaults (#720) (Soichi Hayashi, reviewed by CM, MB, MC)
- Allow BrainModels or Parcels to contain a single vertex in CIFTI (#739) (Michiel Cottaar, reviewed by CM)
- Support for
NIFTI_XFORM_TEMPLATE_OTHER
xform code (#743) (CM)
Bug fixes
- Skip refcheck in ArraySequence construction/extension (#719) (Ariel Rokem, reviewed by CM, MC)
- Use safe resizing for ArraySequence extension (#724) (CM, reviewed by MC)
- Fix typo in error message (#726) (Jon Haitz Legarreta Gorroño, reviewed by CM)
- Support DICOM slice sorting in Python 3 (#728) (Samir Reddigari, reviewed by CM)
- Correctly reorient dim_info when reorienting NIfTI images (#744) (Konstantinos Raktivan, CM, reviewed by CM)
Maintenance
- Import updates to reduce upstream deprecation warnings (#711, #705, #738) (EL, YOH, reviewed by CM)
- Delay import of
nibabel.testing
,nose
andmock
to speed up import (#699) (CM) - Increase coverage testing, drop coveralls (#722, #732) (CM)
- Add Zenodo metadata, sorted by commits (#732) (CM + others)
- Update author listing and copyrights (#742) (MB, reviewed by CM)
2.3.3
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
2.3.3 (Wednesday 16 January 2019)
Maintenance
- Restore
six
dependency (pr/714) (CM, reviewed by Gael Varoquaux, MB)
2.3.2
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
2.3.2 (Wednesday 2 January 2019)
Enhancements
- Enable toggling crosshair with
Ctrl-x
inOrthoSlicer3D
viewer (pr/701)
(Miguel Estevan Moreno, reviewed by CM)
Bug fixes
- Read .PAR files corresponding to ADC maps (pr/685) (Gregory R. Lee, reviewed
by CM) - Increase maximum number of items read from Siemens CSA format (Igor Solovey,
reviewed by CM, MB) - Check boolean dtypes with
numpy.issubdtype(..., np.bool_)
(pr/707)
(Jon Haitz Legarreta Gorroño, reviewed by CM)
Maintenance
- Fix small typos in parrec2nii help text (pr/682) (Thomas Roos, reviewed by
MB) - Remove deprecated calls to
numpy.asscalar
(pr/686) (CM, reviewed by
Gregory R. Lee) - Update QA directives to accommodate Flake8 3.6 (pr/695) (CM)
- Update DOI links to use
https://doi.org
(pr/703) (Katrin Leinweber,
reviewed by CM) - Remove deprecated calls to
numpy.fromstring
(pr/700) (Ariel Rokem,
reviewed by CM, MB) - Drop
distutils
support, requirebz2file
for Python 2.7 (pr/700)
(CM, reviewed by MB) - Replace mutable
bytes
hack, disabled in numpy pre-release, with
bytearray
/readinto
strategy (pr/700) (Ariel Rokem, CM, reviewed by
CM, MB)
API changes and deprecations
- Add
Opener.readinto
method to read file contents into pre-allocated buffers
(pr/700) (Ariel Rokem, reviewed by CM, MB)
2.3.1
Bug fix release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG), Eric Larson (EL), Yaroslav Halchenko (YOH) and Chris Cheng (CC).
References like "pr/298" refer to github pull request numbers.
2.3.1 (Tuesday 16 October 2018)
New features
nib-diff
command line tool for comparing image files (pr/617, pr/672,
pr/678) (CC, reviewed by YOH, Pradeep Raamana and CM)
Enhancements
- Speed up reading of numeric arrays in CIFTI2 (pr/655) (Michiel Cottaar,
reviewed by CM) - Add
ndim
property toArrayProxy
andDataobjImage
(pr/674) (CM,
reviewed by MB)
Bug fixes
- Deterministic deduction of slice ordering in degenerate cases (pr/647)
(YOH, reviewed by CM) - Allow 0ms TR in MGH files (pr/653) (EL, reviewed by CM)
- Allow for PPC64 little-endian long doubles (pr/658) (MB, reviewed by CM)
- Correct construction of FreeSurfer annotation labels (pr/666) (CM, reviewed
by EL, Paul D. McCarthy) - Fix logic for persisting filehandles with indexed-gzip (pr/679) (Paul D.
McCarthy, reviewed by CM)
Maintenance
- Fix semantic error in coordinate systems documentation (pr/646) (Ariel
Rokem, reviewed by CM, MB) - Test on Python 3.7, minor associated fixes (pr/651) (CM, reviewed by Gregory
R. Lee, MB)
2.3.0
New feature release for the 2.3 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
New features
- TRK <=> TCK streamlines conversion CLI tools (pr/606) (MC, reviewed by CM)
- Image slicing for SpatialImages (pr/550) (CM)
Enhancements
- Simplfiy MGHImage and add footer fields (pr/569) (CM, reviewed by MB)
- Force sform/qform codes to be ints, rather than numpy types (pr/575) (Paul
McCarthy, reviewed by MB, CM) - Auto-fill color table in FreeSurfer annotation file (pr/592) (Paul McCarthy,
reviewed by CM, MB) - Set default intent code for CIFTI2 images (pr/604) (Mathias Goncalves,
reviewed by CM, Satra Ghosh, MB, Tim Coalson) - Raise informative error on empty files (pr/611) (Pradeep Raamana, reviewed
by CM, MB) - Accept degenerate filenames such as
.nii
(pr/621) (Dimitri
Papadopoulos-Orfanos, reviewed by Yaroslav Halchenko) - Take advantage of
IndexedGzipFile
drop_handles
flag to release
filehandles by default (pr/614) (Paul McCarthy, reviewed by CM, MB)
Bug fixes
- Preserve first point of
LazyTractogram
(pr/588) (MC, reviewed by Nil
Goyette, CM, MB) - Stop adding extraneous metadata padding (pr/593) (Jon Stutters, reviewed by
CM, MB) - Accept lower-case orientation codes in TRK files (pr/600) (Kesshi Jordan,
MB, reviewed by MB, MC, CM) - Annotation file reading (pr/592) (Paul McCarthy, reviewed by CM, MB)
- Fix buffer size calculation in ArraySequence (pr/597) (Serge Koudoro,
reviewed by MC, MB, Eleftherios Garyfallidis, CM) - Resolve
UnboundLocalError
in Python 3 (pr/607) (Jakub Kaczmarzyk,
reviewed by MB, CM) - Do not crash on non-
ImportError
failures in optional imports (pr/618)
(Yaroslav Halchenko, reviewed by CM) - Return original array from
get_fdata
for array image, if no cast
required (pr/638, MB, reviewed by CM)
Maintenance
- Use SSH address to use key-based auth (pr/587) (CM, reviewed by MB)
- Fix doctests for numpy 1.14 array printing (pr/591) (MB, reviewed by CM)
- Refactor for pydicom 1.0 API changes (pr/599) (MB, reviewed by CM)
- Increase test coverage, remove unreachable code (pr/602) (CM, reviewed by
Yaroslav Halchenko, MB) - Move
nib-ls
and other programs to a new cmdline module (pr/601, pr/615)
(Chris Cheng, reviewed by MB, Yaroslav Halchenko) - Remove deprecated numpy indexing (EL, reviewed by CM)
- Update documentation to encourage
get_fdata
overget_data
(pr/637,
MB, reviewed by CM)
API changes and deprecations
- Support for
keep_file_open = 'auto'
as a parameter toOpener()
will
be deprecated in 2.4, for removal in 3.0. Accordingly, support for
openers.KEEP_FILE_OPEN_DEFAULT = 'auto'
will be dropped on the same
schedule. - Drop-in support for
indexed_gzip < 0.7
has been removed.
2.2.1
Bug fix release for the 2.2 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
Bug fixes
- Set L/R labels in orthoview correctly (pr/564) (CM)
- Defer use of ufunc / memmap test - allows "freezing" (pr/572) (MB, reviewed
by Satra Ghosh) - Fix doctest failures with pre-release numpy (pr/582) (MB, reviewed by CM)
Maintenance
- Update documentation around NIfTI qform/sform codes (pr/576) (Paul McCarthy,
reviewed by MB, CM) + (pr/580) (Bennet Fauber, reviewed by Paul McCarthy) - Skip precision test on macOS, newer numpy (pr/583) (MB, reviewed by CM)
- Simplify AppVeyor script, removing conda (pr/584) (MB, reviewed by CM)
2.2.0
New feature release for the 2.2 series.
Most work on NiBabel so far has been by Matthew Brett (MB), Michael Hanke (MH)
Ben Cipollini (BC), Marc-Alexandre Côté (MC), Chris Markiewicz (CM), Stephan
Gerhard (SG) and Eric Larson (EL).
References like "pr/298" refer to github pull request numbers.
New features
- CIFTI support (pr/249) (Satra Ghosh, Michiel Cottaar, BC, CM, Demian
Wassermann, MB) - Support for MRtrix TCK streamlines file format (pr/486) (MC, reviewed by
MB, Arnaud Bore, J-Donald Tournier, Jean-Christophe Houde) - Added
get_fdata()
as default method to retrieve scaled floating point
data fromDataobjImage
s (pr/551) (MB, reviewed by CM, Satra Ghosh)
Enhancements
- Support for alternative header field name variants in .PAR files
(pr/507) (Gregory R. Lee) - Various enhancements to streamlines API by MC: support for reading TRK
version 1 (pr/512); concatenation of tractograms using+
/+=
operators
(pr/495); function to concatenate multiple ArraySequence objects (pr/494) - Support for numpy 1.12 (pr/500, pr/502) (MC, MB)
- Allow dtype specifiers as fileslice input (pr/485) (MB)
- Support "headerless" ArrayProxy specification, enabling memory-efficient
ArrayProxy reshaping (pr/521) (CM) - Allow unknown NIfTI intent codes, add FSL codes (pr/528) (Paul McCarthy)
- Improve error handling for
img.__getitem__
(pr/533) (Ariel Rokem) - Delegate reorientation to SpatialImage classes (pr/544) (Mark Hymers, CM,
reviewed by MB) - Enable using
indexed_gzip
to reduce memory usage when reading from
gzipped NIfTI and MGH files (pr/552) (Paul McCarthy, reviewed by MB, CM)
Bug fixes
- Miscellaneous MINC reader fixes (pr/493) (Robert D. Vincent, reviewed by CM,
MB) - Fix corner case in
wrapstruct.get
(pr/516) (Paul McCarthy, reviewed by
CM, MB)
Maintenance
- Fix documentation errors (pr/517, pr/536) (Fernando Perez, Venky Reddy)
- Documentation update (pr/514) (Ivan Gonzalez)
- Update testing to use pre-release builds of dependencies (pr/509) (MB)
- Better warnings when nibabel not on path (pr/503) (MB)
API changes and deprecations
header
argument toArrayProxy.__init__
is renamed tospec
- Deprecation of
header
property ofArrayProxy
object, for removal in
3.0 wrapstruct.get
now returns entries evaluatingFalse
, instead ofNone
DataobjImage.get_data
to be deprecated April 2018, scheduled for removal
April 2020