diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2022-02-06 23:16:28 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-02-13 01:00:03 +0100 |
commit | bede51364da59aee4e525b0333447e4666792e46 (patch) | |
tree | 3db789b0e09f174e91f8e5cc5127427bf0d4e95a | |
parent | bf9b2320ff90995c3111ff625bc0a88acebd7abd (diff) |
gnu: Add python-dipy.
* gnu/packages/python-science.scm (python-dipy): New variable.
-rw-r--r-- | gnu/packages/python-science.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index fc6870b5df..0c4551ad21 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1218,3 +1218,37 @@ numerical machinery.") (description "This package provides Python code of the Preconditioned ICA for Real Data (Picard) and Picard-O algorithms.") (license license:bsd-3))) + +(define-public python-dipy + (package + (name "python-dipy") + (version "1.4.1") + (source + (origin + ;; Use git to avoid cythonized files + (method git-fetch) + (uri (git-reference + (url "https://github.com/dipy/dipy") + (commit version))) + (sha256 + (base32 + "031fpl1r035pm9bxi5yr87nmwj5vaj6a983d6sibz0v95hxvnv02")))) + (build-system python-build-system) + (arguments + ;; FIXME: Tests won’t run with error messages like this: + ;; E ImportError: cannot import name 'vector_fields' from partially + ;; initialized module 'dipy.align' (most likely due to a circular import) + `(#:tests? #f)) + (propagated-inputs + (list python-numpy python-scipy python-nibabel python-h5py + python-packaging python-tqdm)) + (native-inputs + (list python-pytest python-cython)) + (home-page "https://dipy.org") + (synopsis "Diffusion MRI utilities in python") + (description "DIPY is a 3D/4D+ imaging library in Python. It contains +generic methods for spatial normalization, signal processing, machine +learning, statistical analysis and visualization of medical images. +Additionally, it contains specialized methods for computational anatomy +including diffusion, perfusion and structural imaging.") + (license license:bsd-3))) |