diff options
author | Efraim Flashner | 2019-10-06 06:03:49 -0500 |
---|---|---|
committer | Efraim Flashner | 2019-10-06 06:03:49 -0500 |
commit | cb55444671fd2334a606d360773b339ef6a2a6fe (patch) | |
tree | 56e76fc6201b4cf6ca8f5368a101b6df9d4ae1ae | |
parent | ef235b539dfa07b275b6d01f1358b5e9983fdb8e (diff) | |
download | guix-bioinformatics-cb55444671fd2334a606d360773b339ef6a2a6fe.tar.gz |
gn: rust-qtlreaper: Update test results.core-updates
* gn/packages/genenetwork.scm (rust-qtlreaper)[arguments]: Add custom
phase to update the expected test results with the new library versions.
-rw-r--r-- | gn/packages/genenetwork.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 7e5a04e..b9ebcc4 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -206,7 +206,17 @@ location of a putative QTL.") ("rust-rayon" ,rust-rayon-1.0) ("rust-serde" ,rust-serde) ("rust-serde-json" ,rust-serde-json) - ("rust-ndarray" ,rust-ndarray)))) + ("rust-ndarray" ,rust-ndarray)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-test-data + (lambda _ + (substitute* "src/geneobject.rs" + ;; array![Genotype::Unk, Genotype::Unk, Genotype::Pat] + (("0.3421367343627405") "0.3421367343627406") + ;; array![Genotype::Unk, Genotype::Unk, Genotype::Unk] + (("-0.3223330030526561") "-0.32233300305265566")) + #t))))) (home-page "https://github.com/chfi/rust-qtlreaper") (synopsis "Reimplementation of genenetwork/QTLReaper in Rust") (description "Reimplementation of genenetwork/QTLReaper in Rust") |