summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-23 15:26:56 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:59 +0100
commit94754588855782ce8a121dc6d3a3635d5e04bb58 (patch)
tree021887ecbdbc6eaf7053f1ae3c2da053bd847c6a /gnu/packages
parent11eec1e912e0e4dba356d810197721f750e3122e (diff)
gnu: python-taggd: Switch to pyproject, fix tests.
* gnu/packages/bioinformatics.scm (python-taggd)[build-system]: Switch to pyproject-build-system. [arguments] <test-flags>: Move skipping tests options here. <phases>: Remove 'disable-broken-tests; add 'remove-local-taggd. [propagated-inputs]: Remove python-setuptools. [native-inputs]: Add python-pytest and python-setuptools. Change-Id: I8cd3a72b2469dbb0d53c21f2fda30c0b004a6c8d
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm21
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ede8eb70b27..26847d6edcf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12167,20 +12167,23 @@ interpretation.")
12167 (snippet 12167 (snippet
12168 '(for-each delete-file 12168 '(for-each delete-file
12169 (find-files "taggd" "\\.c$"))))) 12169 (find-files "taggd" "\\.c$")))))
12170 (build-system python-build-system) 12170 (build-system pyproject-build-system)
12171 (arguments 12171 (arguments
12172 (list 12172 (list
12173 #:test-flags
12174 ;; AssertionError: 0 is not true : Running Normal BAM test failed.
12175 #~(list "-k" "not test_normal_bam_run")
12173 #:phases 12176 #:phases
12174 '(modify-phases %standard-phases 12177 #~(modify-phases %standard-phases
12175 (add-after 'unpack 'disable-broken-tests 12178 (add-before 'check 'remove-local-taggd
12176 (lambda _ 12179 (lambda _
12177 (substitute* "tests/taggd_demultiplex_test.py" 12180 ;; This would otherwise interfere with finding the installed
12178 (("def test_normal_bam_run") 12181 ;; taggd when running tests.
12179 "def _disabled_test_normal_bam_run"))))))) 12182 (delete-file-recursively "taggd"))))))
12180 (propagated-inputs 12183 (propagated-inputs
12181 (list python-numpy python-pysam python-setuptools)) 12184 (list python-numpy python-pysam))
12182 (native-inputs 12185 (native-inputs
12183 (list python-cython)) 12186 (list python-cython python-pytest python-setuptools))
12184 (home-page "https://github.com/SpatialTranscriptomicsResearch/taggd") 12187 (home-page "https://github.com/SpatialTranscriptomicsResearch/taggd")
12185 (synopsis "Genetic barcode demultiplexing") 12188 (synopsis "Genetic barcode demultiplexing")
12186 (description "This package provides TagGD barcode demultiplexing utilities 12189 (description "This package provides TagGD barcode demultiplexing utilities