diff options
author | Pjotr Prins | 2017-10-20 08:10:39 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-10-23 13:54:05 +0000 |
commit | b42a02d02b3d9384b1da55bd091f0f89c808b626 (patch) | |
tree | 4fd66b70ce7eb660dcb98c38a7f5309ac43195e8 /src/prdt.cpp | |
parent | 12558c358150bfed99874b791932bbe06a107263 (diff) | |
download | pangemma-b42a02d02b3d9384b1da55bd091f0f89c808b626.tar.gz |
Travis-ci:
- Disabled gcc-6 since we develop with later tools anyway
- Turned the release test into a simple integration test
- Adding MacOSX on Travis-ci
Tests: Adding tests for Plink w. LOCO
Safety: Introduce strtok_safe to get rid of segfaults
Diffstat (limited to 'src/prdt.cpp')
-rw-r--r-- | src/prdt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prdt.cpp b/src/prdt.cpp index 9dc84bc..fc0abe8 100644 --- a/src/prdt.cpp +++ b/src/prdt.cpp @@ -227,7 +227,7 @@ void PRDT::AnalyzeBimbam(gsl_vector *y_prdt) { // Start reading genotypes and analyze. for (size_t t = 0; t < ns_total; ++t) { - !safeGetline(infile, line).eof(); + safeGetline(infile, line).eof(); if (t % d_pace == 0 || t == (ns_total - 1)) { ProgressBar("Reading SNPs ", t, ns_total - 1); } |