aboutsummaryrefslogtreecommitdiff
path: root/src/lm.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-10-06 11:51:18 +0000
committerPjotr Prins2017-10-13 15:27:24 +0000
commit63b6796a16ed2c82bb8b08eb4685bf8d56a9d360 (patch)
treebe1659d5f3770364d6a0773d9913e25f13d74485 /src/lm.cpp
parentec8a139cb07b46bd0b9e5de2ea8db1f7f335a56c (diff)
downloadpangemma-63b6796a16ed2c82bb8b08eb4685bf8d56a9d360.tar.gz
Consolidate into ProgressBar into one function and related updates
Diffstat (limited to 'src/lm.cpp')
-rw-r--r--src/lm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lm.cpp b/src/lm.cpp
index a44bceb..ea628cf 100644
--- a/src/lm.cpp
+++ b/src/lm.cpp
@@ -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;