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>
This commit is contained in:
Felix Gruber 2021-10-10 15:04:34 +00:00 committed by Ludovic Courtès
parent a6c30da4dc
commit 9101c7bf8e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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 @@ (define-public clipper
(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)