aboutsummaryrefslogtreecommitdiff
path: root/src/param.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-08-27 08:57:15 +0200
committerGitHub2017-08-27 08:57:15 +0200
commit523275386b5644a20be6a309d54d9497029462db (patch)
treeee7fe2693b3174328e46a22454edeb9e64cfc021 /src/param.cpp
parent2554242d10b9a7b58bd6c7df82a10e747b6cc0eb (diff)
parenta1984edf45653c46ff430de3958449459532cb6f (diff)
downloadpangemma-523275386b5644a20be6a309d54d9497029462db.tar.gz
Merge pull request #79 from genenetwork/issue78
Issue78
Diffstat (limited to 'src/param.cpp')
-rw-r--r--src/param.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/param.cpp b/src/param.cpp
index c81eaf5..dce55e0 100644
--- a/src/param.cpp
+++ b/src/param.cpp
@@ -337,7 +337,7 @@ void PARAM::ReadFiles(void) {
trim_individuals(indicator_cvt, ni_max, mode_debug);
if (ReadFile_geno(file_geno, setSnps, W, indicator_idv, indicator_snp,
maf_level, miss_level, hwe_level, r2_level, mapRS2chr,
- mapRS2bp, mapRS2cM, snpInfo, ns_test) == false) {
+ mapRS2bp, mapRS2cM, snpInfo, ns_test, mode_debug) == false) {
error = true;
}
gsl_matrix_free(W);
@@ -445,7 +445,7 @@ void PARAM::ReadFiles(void) {
while (!safeGetline(infile, file_name).eof()) {
if (ReadFile_geno(file_name, setSnps, W, indicator_idv, indicator_snp,
maf_level, miss_level, hwe_level, r2_level, mapRS2chr,
- mapRS2bp, mapRS2cM, snpInfo, ns_test_tmp) == false) {
+ mapRS2bp, mapRS2cM, snpInfo, ns_test_tmp, mode_debug) == false) {
error = true;
}
@@ -1338,7 +1338,7 @@ void PARAM::ReadGenotypes(gsl_matrix *UtX, gsl_matrix *K, const bool calc_K) {
}
} else {
if (ReadFile_geno(file_geno, indicator_idv, indicator_snp, UtX, K,
- calc_K) == false) {
+ calc_K, mode_debug) == false) {
error = true;
}
}
@@ -1358,7 +1358,7 @@ void PARAM::ReadGenotypes(vector<vector<unsigned char>> &Xt, gsl_matrix *K,
}
} else {
if (ReadFile_geno(file_geno, indicator_idv, indicator_snp, Xt, K, calc_K,
- ni_test, ns_test) == false) {
+ ni_test, ns_test, mode_debug) == false) {
error = true;
}
}