Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Christopher J. Markiewicz <markiewicz@stanford.edu>
Christopher J. Markiewicz <markiewicz@stanford.edu> <effigies@gmail.com>
Christopher J. Markiewicz <markiewicz@stanford.edu> <effigies@bu.edu>
Cindee Madison <cindee@berkeley.edu>
Clorindo Notte <clorindo.notte@univr.it>
Demian Wassermann <demian@bwh.harvard.edu> <demian.wassermann@inria.fr>
Dimitri Papadopoulos Orfanos <dimitri.papadopoulos@cea.fr> <DimitriPapadopoulos@users.noreply.github.com>
Dimitri Papadopoulos Orfanos <dimitri.papadopoulos@cea.fr> <3234522+DimitriPapadopoulos@users.noreply.github.com>
Expand Down Expand Up @@ -77,6 +78,7 @@ Oscar Esteban <code@oscaresteban.es>
Paul McCarthy <pauldmccarthy@gmail.com> <pauld.mccarthy@gmail.com>
Paul McCarthy <pauldmccarthy@gmail.com> <manifest-rules@git.fmrib.ox.ac.uk>
Reinder Vos de Wael <reinder.vosdewael@gmail.com> <reinder.vosdewael@childmind.org>
Rémi Gau <remi_gau@hotmail.com>
Roberto Guidotti <robbenson18@gmail.com>
Roberto Guidotti <robbenson18@gmail.com> <guidotr1@cs-087.org.aalto.fi>
Satrajit Ghosh <satra@mit.edu> <satrajit.ghosh@gmail.com>
Expand Down
89 changes: 57 additions & 32 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"creators": [
{
"affiliation": "School of Psychology, University of Birmingham, Birmingham, UK",
"name": "Brett, Matthew",
"orcid": "0000-0001-5500-2546"
},
{
"affiliation": "Stanford University",
"name": "Markiewicz, Christopher J.",
"orcid": "0000-0002-6533-164X"
},
{
"affiliation": "School of Psychology, University of Birmingham, Birmingham, UK",
"name": "Brett, Matthew",
"orcid": "0000-0001-5500-2546"
},
{
"affiliation": "Otto-von-Guericke-University Magdeburg, Germany",
"name": "Hanke, Michael",
"orcid": "0000-0001-6398-6370"
},
{
"affiliation": "Microsoft Research, Montr\u00e9al, Qu\u00e9bec, Canada",
"name": "C\u00f4t\u00e9, Marc-Alexandre",
"affiliation": "Microsoft Research, Montréal, Québec, Canada",
"name": "Côté, Marc-Alexandre",
"orcid": "0000-0002-5147-7859"
},
{
"affiliation": "UC San Diego",
"name": "Cipollini, Ben",
"orcid": "0000-0002-7782-0790"
},
{
"name": "McCarthy, Paul"
},
{
"affiliation": "CEA",
"name": "Papadopoulos Orfanos, Dimitri",
"orcid": "0000-0002-1242-8990"
},
{
"name": "McCarthy, Paul"
},
{
"affiliation": "MIT",
"name": "Jarecka, Dorota",
Expand Down Expand Up @@ -117,17 +117,17 @@
},
{
"affiliation": "Human Neuroscience Platform, Fondation Campus Biotech Geneva, Geneva, Switzerland",
"name": "Mathieu Scheltienne",
"name": "Scheltienne, Mathieu",
"orcid": "0000-0001-8316-7436"
},
{
"name": "Madison, Cindee"
},
{
"name": "S\u00f3lon, Anibal"
"name": "Sólon, Anibal"
},
{
"name": "Morency, F\u00e9lix C."
"name": "Morency, Félix C."
},
{
"affiliation": "MIT",
Expand All @@ -153,16 +153,21 @@
"orcid": "0000-0002-5263-5070"
},
{
"affiliation": "CNRS LTCI, Telecom ParisTech, Universit\u00e9 Paris-Saclay",
"affiliation": "CNRS LTCI, Telecom ParisTech, Université Paris-Saclay",
"name": "Gramfort, Alexandre",
"orcid": "0000-0001-9791-4404"
},
{
"name": "Lepp\u00e4kangas, Jaakko"
"name": "Leppäkangas, Jaakko"
},
{
"name": "van den Bosch, Jasper J.F."
},
{
"affiliation": "Brigham and Women's Hospital, Mass General Brigham/Harvard Medical School",
"name": "Legarreta, Jon Haitz",
"orcid": "0000-0002-9661-1396"
},
{
"name": "Vincent, Robert D."
},
Expand All @@ -177,11 +182,6 @@
{
"name": "Van, Andrew"
},
{
"affiliation": "Brigham and Women's Hospital, Mass General Brigham/Harvard Medical School",
"name": "Legarreta, Jon Haitz",
"orcid": "0000-0002-9661-1396"
},
{
"affiliation": "Google",
"name": "Gorgolewski, Krzysztof J.",
Expand Down Expand Up @@ -230,21 +230,28 @@
},
{
"affiliation": "University College London",
"name": "P\u00e9rez-Garc\u00eda, Fernando",
"name": "Pérez-García, Fernando",
"orcid": "0000-0001-9090-3024"
},
{
"name": "Becq, Guillaume"
"affiliation": "CRNS, France",
"name": "Becq, Guillaume",
"orcid": "0000-0002-2134-1803"
},
{
"name": "Dock\u00e8s, J\u00e9r\u00f4me"
"name": "Dockès, Jérôme"
},
{
"name": "Oosterhof, Nikolaas N."
},
{
"name": "Amirbekian, Bago"
},
{
"affiliation": "Tohoku University",
"name": "Thyreau, Benjamin",
"orcid": "0000-0001-6748-8192"
},
{
"name": "Christian, Horea"
},
Expand All @@ -265,6 +272,11 @@
{
"name": "St-Jean, Samuel"
},
{
"affiliation": "Sir Peter Mansfield Imaging Centre, University of Nottingham, UK",
"name": "Daniel, Alex",
"orcid": "0000-0003-2353-3283"
},
{
"name": "Panfilov, Egor",
"orcid": "0000-0002-2500-6375"
Expand All @@ -278,7 +290,7 @@
"orcid": "0000-0003-1076-5122"
},
{
"affiliation": "Polytechnique Montr\u00e9al, Montr\u00e9al, CA",
"affiliation": "Polytechnique Montréal, Montréal, CA",
"name": "Newton, Joshua",
"orcid": "0009-0005-6963-3812"
},
Expand All @@ -290,6 +302,10 @@
"name": "Waller, Lea",
"orcid": "0000-0002-3239-6957"
},
{
"name": "Ayala, Leonardo",
"orcid": "0000-0002-3574-2085"
},
{
"name": "Hinds, Oliver P."
},
Expand Down Expand Up @@ -332,14 +348,17 @@
"name": "Moreno, Miguel Estevan"
},
{
"name": "Hrn\u010diar, Tom\u00e1\u0161"
"name": "Hrnčiar, Tomáš"
},
{
"name": "Haenel, Valentin"
},
{
"name": "Schwartz, Yannick"
},
{
"name": "Beasley, Benjamin A."
},
{
"affiliation": "Hospital for Sick Children",
"name": "Darwin, Benjamin C"
Expand All @@ -352,6 +371,9 @@
{
"name": "Gauthier, Carl"
},
{
"name": "Notte, Clorindo"
},
{
"name": "Solovey, Igor"
},
Expand All @@ -363,11 +385,14 @@
{
"name": "Palasubramaniam, Jath"
},
{
"name": "Cluce, Jon"
},
{
"name": "Lecher, Justin"
},
{
"affiliation": "TIB \u2013 Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany",
"affiliation": "TIB Leibniz Information Centre for Science and Technology and University Library, Hannover, Germany",
"name": "Leinweber, Katrin",
"orcid": "0000-0001-5135-5758"
},
Expand All @@ -376,16 +401,20 @@
"name": "Raktivan, Konstantinos"
},
{
"name": "Cal\u00e1bkov\u00e1, Mark\u00e9ta"
"name": "Calábková, Markéta"
},
{
"affiliation": "Friedrich-Alexander-Universit\u00e4t Erlangen-N\u00fcrnberg, Erlangen, Germany",
"affiliation": "Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany",
"name": "Fischer, Peter",
"orcid": "0000-0003-3242-9867"
},
{
"name": "Gervais, Philippe"
},
{
"name": "Gau, Rémi",
"orcid": "0000-0002-1535-9767"
},
{
"name": "Gadde, Syam"
},
Expand All @@ -402,10 +431,6 @@
},
{
"name": "freec84"
},
{
"name": "Ayala, Leonardo",
"orcid": "0000-0002-3574-2085"
}
],
"keywords": [
Expand Down
67 changes: 67 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,73 @@ Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).

References like "pr/298" refer to github pull request numbers.

5.4.0 (Monday 2 March 2026)
===========================

New feature release in the 5.4.x series.

This release requires a minimum Python of 3.10 and NumPy 1.25, and has been
tested up to Python 3.14 and NumPy 2.4.

New features
------------
* Add mode parameter to :func:`nibabel.processing.conform` (pr/1396) (Clorindo Notte,
reviewed by CM)

Enhancements
------------
* Label image axes consistently in cases of extreme obliquity (pr/1450) (Leonardo Ayala,
reviewed by CM)
* Use :mod:`compression.zstd` or ``backports.zstd`` in preference to ``pyzstd``
(pr/1444) (PM, reviewed by CM)
* Support PAR/REC files generated by Philips R11 consoles (pr/1430)
(Alex Daniel, reviewed by CM)
* Add stub file for top-level nibabel module, improving support in code analyzers
(pr/1436) (Jon Cluce, reviewed by CM)
* Use informative error message for missing file attribute in
:class:`~nibabel.streamlines.tck.TCKFile` header (pr/1422)
(Jon Haitz Legarreta Gorroño, reviewed by CM)
* Support ``ushort`` datatypes in MGH/MGZ files (pr/1415) (Benjamin Thyreau,
reviewed by CM)
* Simplify :func:`nibabel.cmdline.utils.table2string` implementation (pr/1403) (CM)

Bug fixes
---------
* Fix type-checking errors in :func:`nibabel.volumeutils.rec2dict` (pr/1424)
(Jon Haitz Legarreta Gorroño, reviewed by CM)
* Adapt to functools.partial becoming a method descriptor in Python 3.14
(pr/1391) (Benjamin Beasley, reviewed by CM)

Maintenance
-----------
* Split pre-release tests into cron job (pr/1466) (CM, reviewed by Remi Gau)
* Adapt to numpy 2.5 deprecation of setting :attr:`~numpy.ndarray.shape` attributes
(pr/1452) (CM)
* Document and test support for :class:`os.PathLike` objects in streamlines APIs
(pr/1435) (Jon Haitz Legarreta Gorroño, reviewed by CM)
* Drop CI tests on Intel Macs (pr/1439) (Dimitri Papadopoulos, reviewed by CM)
* Update license metadata using SPDX expression (pr/1425) (Dimitri Papadopoulos, reviewed by CM)
* Test on Python 3.14, us locking tox runners (pr/1431, pr/1447) (CM)
* Update style checker (ruff) and address new complaints (pr/1405, pr/1406, pr/1433) (CM,
Dimitri Papadopoulos)
* Add broad testing for Python 3.13 (pr/1381) (CM)
* Build docs on PRs with ReadTheDocs to permit quick inspection. (pr/1398) (CM)

API changes and deprecations
----------------------------
* Drop support for Python 3.9, Numpy < 1.15 (pr/1448) (CM)

5.3.3 (Friday 5 December 2025)
==============================

Bug-fix release in the 5.3.x series.

Bug fixes
---------
* Fix frame order for single-frame DICOM files (pr/1387) (Brendan Moloney, reviewed by CM)
* Replace :class:`dict` literal with :class:`set` in test. (pr/1382) (CM)


5.3.2 (Wednesday 23 October 2024)
=================================

Expand Down
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ NOSETESTS = $(PYTHON) $(shell which nosetests)
#

PYVER := $(shell $(PYTHON) -V 2>&1 | cut -d ' ' -f 2,2 | cut -d '.' -f 1,2)
DISTUTILS_PLATFORM := \
$(shell \
$(PYTHON) -c "import distutils.util; print(distutils.util.get_platform())")

# Helpers for version handling.
# Note: can't be ':='-ed since location of invocation might vary
Expand Down Expand Up @@ -243,10 +240,8 @@ sdist-venv: clean
. venv/bin/activate && cd venv/tmp/nibabel* && python setup.py install
unset PYTHONPATH && . venv/bin/activate && cd venv && pytest --doctest-modules --doctest-plus --pyargs nibabel

source-release: distclean
$(PYTHON) -m compileall .
make distclean
$(PYTHON) setup.py sdist --formats=gztar,zip
source-release:
uv build --sdist

venv-tests:
# I use this for python2.5 because the sdist-tests target doesn't work
Expand Down
9 changes: 3 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
.. image:: https://img.shields.io/pypi/pyversions/nibabel.svg
:target: https://pypi.python.org/pypi/nibabel/
:alt: PyPI - Python Version
.. image:: https://img.shields.io/badge/code%20style-blue-blue.svg
:target: https://blue.readthedocs.io/en/latest/
:alt: code style: blue
.. image:: https://img.shields.io/badge/imports-isort-1674b1
:target: https://pycqa.github.io/isort/
:alt: imports: isort
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
:target: https://github.com/pre-commit/pre-commit
:alt: pre-commit
Expand Down
Loading