summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2021-10-10 15:04:34 +0000
committerLudovic Courtès <ludo@gnu.org>2021-10-12 18:13:29 +0200
commit9101c7bf8eb63762b2231a31a87d830c0a6b8e52 (patch)
tree710d6e33cc3fc8108d0e952e38a99b7b879f69c5 /gnu
parenta6c30da4dc963e8a6282773fd1c2048d856a6cb4 (diff)
downloadguix-9101c7bf8eb63762b2231a31a87d830c0a6b8e52.tar.gz
gnu: clipper: Disable non-deterministic test.
This test fails/succeeds non-deterministically.

* gnu/packages/bioinformatics.scm (clipper)[arguments]: Disable
  non-deterministic test test_get_FDR_cutoff_mean.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 082e47bf5b..7dec74f0c0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2021 Tim Howes <timhowes@lavabit.com>
 ;;; Copyright © 2021 Hong Li <hli@mdc-berlin.de>
 ;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2363,7 +2364,13 @@ databases.")
              (let ((out (assoc-ref outputs "out")))
                (for-each make-file-writable
                          (find-files out "\\.gz$"))
-               #t))))))
+               #t)))
+         (add-after 'unpack 'disable-nondeterministic-test
+           (lambda _
+             ;; This test fails/succeeds non-deterministically.
+             (substitute* "clipper/test/test_call_peak.py"
+               (("test_get_FDR_cutoff_mean") "_test_get_FDR_cutoff_mean"))
+             #t)))))
     (inputs
      `(("htseq" ,htseq)
        ("python-pybedtools" ,python-pybedtools)