diff options
author | Pjotr Prins | 2017-10-05 09:18:59 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-05 09:19:09 +0000 |
commit | 530488454ae6a35b098b81b45581f88f02d6de0e (patch) | |
tree | 7ee31c78a678ea4fa364267a9de8564faf4b159e /src/lm.cpp | |
parent | e90c2d25cdb77d41d6587188db9e61cb988f2c78 (diff) | |
download | pangemma-530488454ae6a35b098b81b45581f88f02d6de0e.tar.gz |
Adding debug statements on entering functions and added test for issue 58
Diffstat (limited to 'src/lm.cpp')
-rw-r--r-- | src/lm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -290,6 +290,7 @@ void LmCalcP(const size_t test_mode, const double yPwy, const double xPwy, } void LM::AnalyzeGene(const gsl_matrix *W, const gsl_vector *x) { + debug_msg("entering"); ifstream infile(file_gene.c_str(), ifstream::in); if (!infile) { cout << "error reading gene expression file:" << file_gene << endl; @@ -382,6 +383,7 @@ void LM::AnalyzeGene(const gsl_matrix *W, const gsl_vector *x) { // WJA added void LM::Analyzebgen(const gsl_matrix *W, const gsl_vector *y) { + debug_msg("entering"); string file_bgen = file_oxford + ".bgen"; ifstream infile(file_bgen.c_str(), ios::binary); if (!infile) { @@ -606,6 +608,7 @@ void LM::Analyzebgen(const gsl_matrix *W, const gsl_vector *y) { } void LM::AnalyzeBimbam(const gsl_matrix *W, const gsl_vector *y) { + debug_msg("entering"); igzstream infile(file_geno.c_str(), igzstream::in); if (!infile) { cout << "error reading genotype file:" << file_geno << endl; @@ -720,6 +723,7 @@ void LM::AnalyzeBimbam(const gsl_matrix *W, const gsl_vector *y) { } void LM::AnalyzePlink(const gsl_matrix *W, const gsl_vector *y) { + debug_msg("entering"); string file_bed = file_bfile + ".bed"; ifstream infile(file_bed.c_str(), ios::binary); if (!infile) { |