File: adjust-GWAS_manhattanplots.patch

package info (click to toggle)
pique 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,944 kB
  • sloc: perl: 1,064; makefile: 133; sh: 40
file content (29 lines) | stat: -rw-r--r-- 1,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: fix failure to execute GWAS_manhattanplots.R
 Without this patch, autopkgtest fails with the following error, due to
 a flaw in the logic of the script when integrated in an FHS compliant
 operating system tree:
 .
        GWAS_manhattanplots -b 0.1 -q -y 12 -i plot_files.txt
        Error in file(filename, "r", encoding = encoding) : 
          cannot open the connection
        Calls: source -> file
        In addition: Warning message:
        In file(filename, "r", encoding = encoding) :
          cannot open file '/usr/bin/GWAS_manhattanplots.R': No such file or directory
        Execution halted
Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2025-05-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pique.orig/bin/GWAS_manhattanplots
+++ pique/bin/GWAS_manhattanplots
@@ -60,7 +60,7 @@
 basename <- dirname(script)
 
 # source library
-lib.name <- paste(sep = "/", basename, "GWAS_manhattanplots.R")
+lib.name <- "/usr/lib/R/site-library/pique/GWAS_manhattanplots.R"
 source(lib.name)
 
 # Required for Benjamini-Hochberg correction