diff options
author | Pjotr Prins | 2018-01-26 10:57:14 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-01-26 10:57:14 +0000 |
commit | b0d31fa2631622d09730c85b5ce3e82b4886dd45 (patch) | |
tree | c35879b1e77dfb546ae8c2abe7bc8ea8a058ef53 /src/io.cpp | |
parent | 3293f7e6456574272418b16f4a5ba22f60f8d67a (diff) | |
download | pangemma-b0d31fa2631622d09730c85b5ce3e82b4886dd45.tar.gz |
Always check input data for strtok - unless -no-check is used
Diffstat (limited to 'src/io.cpp')
-rw-r--r-- | src/io.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -707,6 +707,7 @@ bool ReadFile_geno(const string &file_geno, const set<string> &setSnps, if (indicator_idv[i] == 0) continue; + enforce_msg(ch_ptr,"Problem reading geno file"); if (strcmp(ch_ptr, "NA") == 0) { gsl_vector_set(genotype_miss, c_idv, 1); n_miss++; |