diff options
author | Pjotr Prins | 2017-10-06 11:51:18 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-13 15:27:24 +0000 |
commit | 63b6796a16ed2c82bb8b08eb4685bf8d56a9d360 (patch) | |
tree | be1659d5f3770364d6a0773d9913e25f13d74485 /src/lm.cpp | |
parent | ec8a139cb07b46bd0b9e5de2ea8db1f7f335a56c (diff) | |
download | pangemma-63b6796a16ed2c82bb8b08eb4685bf8d56a9d360.tar.gz |
Consolidate into ProgressBar into one function and related updates
Diffstat (limited to 'src/lm.cpp')
-rw-r--r-- | src/lm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -331,7 +331,7 @@ void LM::AnalyzeGene(const gsl_matrix *W, const gsl_vector *x) { for (size_t t = 0; t < ng_total; t++) { getline(infile, line); if (t % d_pace == 0 || t == ng_total - 1) { - ProgressBar("Performing Analysis ", t, ng_total - 1); + ProgressBar("Performing Analysis", t, ng_total - 1); } ch_ptr = strtok((char *)line.c_str(), " , \t"); rs = ch_ptr; @@ -421,7 +421,7 @@ void LM::AnalyzeBimbam(const gsl_matrix *W, const gsl_vector *y) { for (size_t t = 0; t < indicator_snp.size(); ++t) { getline(infile, line); if (t % d_pace == 0 || t == (ns_total - 1)) { - ProgressBar("Reading SNPs ", t, ns_total - 1); + ProgressBar("Reading SNPs", t, ns_total - 1); } if (indicator_snp[t] == 0) { continue; @@ -547,7 +547,7 @@ void LM::AnalyzePlink(const gsl_matrix *W, const gsl_vector *y) { for (vector<SNPINFO>::size_type t = 0; t < snpInfo.size(); ++t) { if (t % d_pace == 0 || t == snpInfo.size() - 1) { - ProgressBar("Reading SNPs ", t, snpInfo.size() - 1); + ProgressBar("Reading SNPs", t, snpInfo.size() - 1); } if (indicator_snp[t] == 0) { continue; |