[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/57: gnu: Add python-pims.
From: |
guix-commits |
Subject: |
38/57: gnu: Add python-pims. |
Date: |
Mon, 22 Apr 2024 05:36:32 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit fbfd58b5bf8001642a1019c5231b7d20a098cb45
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Apr 19 14:10:03 2024 +0200
gnu: Add python-pims.
* gnu/packages/image-processing.scm (python-pims): New variable.
Change-Id: I33e89dd865a38b526a1f766cf321a6c67a170a36
---
gnu/packages/image-processing.scm | 40 +++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 00b6311c23..ceef83f3b1 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1704,6 +1704,46 @@ purposes.")
segmentation.")
(license license:expat)))
+(define-public python-pims
+ (package
+ (name "python-pims")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PIMS" version))
+ (sha256
+ (base32 "0fsg353mbbj1ad06nwrp8p9xcrzy6rca6b52nvlbraaf3m309dz2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; We don't have all the (sometimes very large) data files, so we skip
+ ;; these tests.
+ '(list "--ignore=pims/tests/test_imseq.py"
+ "--ignore=pims/tests/test_norpix.py"
+ "-k"
+ (string-append " not TestImageReaderTIFF"
+ " and not TestOpenFiles"
+ " and not TestSpeStack"
+ " and not TestTiffStack_pil"
+ " and not TestTiffStack_tifffile"
+ " and not TestVideo_ImageIO"))))
+ (propagated-inputs
+ (list python-imageio python-numpy python-slicerator))
+ (native-inputs (list python-pytest))
+ (home-page "https://github.com/soft-matter/pims")
+ (synopsis "Python Image Sequence")
+ (description "Scientific video can be packaged in various ways: familiar
+video formats like @file{.AVI} and @file{.MOV}, folders full of numbered
+images, or \"stacks\" of TIFF images. Each of these requires a separate
+Python module. And, once loaded, they have different methods for accessing
+individual images, looping through the images in bulk, accessing a specific
+range, or dealing with multidimensional files. PIMS can do all of these using
+a consistent interface, handling the differences between different inputs
+invisibly.")
+ (license license:bsd-3)))
+
(define-public python-spatial-image
(package
(name "python-spatial-image")
- 53/57: gnu: python-pydantic-2: Ignore sensitive tests., (continued)
- 53/57: gnu: python-pydantic-2: Ignore sensitive tests., guix-commits, 2024/04/22
- 45/57: gnu: python-contourpy: Update to 1.1.1., guix-commits, 2024/04/22
- 51/57: gnu: python-zarr: Update to 2.17.2., guix-commits, 2024/04/22
- 44/57: gnu: python-openpyxl: Update to 3.0.10., guix-commits, 2024/04/22
- 48/57: gnu: python-pandas-2: Skip expensive tests., guix-commits, 2024/04/22
- 22/57: gnu: r-crul: Update to 1.4.2., guix-commits, 2024/04/22
- 43/57: gnu: python-pytest-xdist: Use pyproject-build-system., guix-commits, 2024/04/22
- 09/57: gnu: r-ggeffects: Update to 1.5.2., guix-commits, 2024/04/22
- 31/57: gnu: Add python-cyvcf2., guix-commits, 2024/04/22
- 11/57: gnu: r-optparse: Update to 1.7.5., guix-commits, 2024/04/22
- 38/57: gnu: Add python-pims.,
guix-commits <=
- 07/57: gnu: r-reticulate: Update to 1.36.0., guix-commits, 2024/04/22
- 12/57: gnu: r-ggfortify: Update to 0.4.17., guix-commits, 2024/04/22
- 54/57: gnu: java-easymock-class-extension: Use java-asm-8., guix-commits, 2024/04/22
- 55/57: gnu: python-deeptools: Replace python-nose with python-pytest., guix-commits, 2024/04/22