2ed7f3d336
- Add patch ignore-userwarnings.patch: * Ignore any UserWarnings that arise, rather than to trying to swallow them with pytest.warns().
Steve Kowalik2025-07-31 02:59:59 +00:00
5d26cf4b61
Accepting request 1226405 from devel:languages:python:numeric
Ana Guerrero2024-11-26 19:55:59 +00:00
764bd6c788
- Update to 5.3.2: * New features + Update NIfTI extension protocol to include .content : bytes, .text : str and .json : dict properties for accessing extension contents. * Enhancements + Ability to read data from many multiframe DICOM files that previously generated errors + nib-nifti-dx now supports NIfTI-2 files with a --nifti2 flag + Update nibabel.streamlines.tractogram to support ragged arrays. + Improve error message for for dicomwrapper errors in shape calculation + Support "flat" ASCII-encoded GIFTI DataArrays * Bug fixes + Fix location initialization/update in OrthoSlicer3D for permuted axes + Fix DICOM scaling, making frame filtering explicit + Fixed multiframe DICOM issue where data could be flipped along slice dimension relative to the affine + Fixed multiframe DICOM issue where image_position and the translation component in the affine could be incorrect * Maintenance + Numpy 2.0 compatibility and addressing deprecations in numpy API + Python 3.13 compatibility + Testing on Python 3.13 with free-threading + Proactively address deprecations in coming Python versions + Replace nose-era setup() and teardown() functions with pytest equivalents * API changes and deprecations + Raise HeaderDataError from set_qform if the affine fails to decompose. This would previously result in numpy.linalgLinAlgError. + The nibabel.onetime.auto_attr module can be replaced by
Steve Kowalik2024-11-26 05:23:34 +00:00
7fb68bda45
- Remove numpy upper bound. - Add patch support-numpy-2.patch: * Use np.asarray() to support NumPy 2 as well.
Steve Kowalik2024-07-25 02:06:49 +00:00
fbbd5f0c1a
Accepting request 1188927 from devel:languages:python:numeric
Ana Guerrero2024-07-22 15:18:36 +00:00
2024221375
- Switch to autosetup macro. - Restrict numpy to < 2 because it isn't currently supported. - Add patch support-pytest-8.patch: * Use pytest setup/teardown methods.
Steve Kowalik2024-07-22 05:54:20 +00:00
a830a4ed5b
Accepting request 1161551 from devel:languages:python:numeric
Ana Guerrero2024-03-26 18:26:23 +00:00
df6ae5e4db
- update to 5.2.1: * Support "flat" ASCII-encoded GIFTI DataArrays (pr/1298) (PM, reviewed by CM) * Tolerate missing `git` when reporting version info (pr/1286) * Handle Siemens XA30 derived DWI DICOMs (pr/1296) * Add tool for generating GitHub-friendly release notes * Accommodate pytest 8 changes (pr/1297) (CM) * nib-convert CLI tool to make image type and data dtype conversion * Allow dtypes to be passed to Analyze-like images at __init__() * Passing (u)int64 arrays to Nifti1Image and subclasses will warn unless a header or dtype option is passed; in the future this will become an error. Additionally, passing int or 'int' to set_data_dtype() now raises an error, requiring an explicit numpy dtype to make 64-bit - skip python 36
Dirk Mueller2024-03-25 20:13:17 +00:00
fe52228876
Accepting request 1147160 from devel:languages:python:numeric
Ana Guerrero2024-02-18 19:23:20 +00:00
a4851ee354
Accepting request 1147056 from home:bnavigator:branches:devel:languages:python:numeric
Matej Cepl2024-02-16 16:56:53 +00:00
57bda54458
Accepting request 1009448 from devel:languages:python:numeric
Richard Brown2022-10-11 16:02:53 +00:00
3c226998a8
- Update to 3.0.1: * Test failed by using array method on tuple. (pr/860) (Ben Darwin, reviewed by CM) * Validate ExpiredDeprecationErrors, promoted by 3.0 release from DeprecationWarnings. (pr/857) (CM) * Improve testing of data scaling in ArrayProxy API (pr/847) (CM, reviewed by Alejandro de la Vega) * Document SpatialImage.slicer interface (pr/846) (CM) * get_fdata(dtype=np.float32) will attempt to avoid casting data to np.float64 when scaling parameters would otherwise promote the data type unnecessarily. (pr/833) (CM, reviewed by Ross Markello) * ArraySequence now supports a large set of Python operators to combine or update in-place. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB) * Warn, rather than fail, on DICOMs with unreadable Siemens CSA tags (pr/818) (Henry Braun, reviewed by CM) * Improve clarity of coordinate system tutorial (pr/823) (Egor Panfilov, reviewed by MB)
Tomáš Chvátal
2020-03-06 08:26:30 +00:00