diff options
| author | Pjotr Prins | 2025-12-03 12:18:29 +0100 |
|---|---|---|
| committer | Pjotr Prins | 2025-12-03 12:18:29 +0100 |
| commit | 731b7b758cda5edea1666dbbf577b4b65861a55c (patch) | |
| tree | 600170bf533989279d12702396cfa74be870eb87 /src/gemma.cpp | |
| parent | 46797908cd86144147776f0db70183d52e998ce1 (diff) | |
| download | pangemma-731b7b758cda5edea1666dbbf577b4b65861a55c.tar.gz | |
Writing output local to function
Diffstat (limited to 'src/gemma.cpp')
| -rw-r--r-- | src/gemma.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp index c7f7ab6..f7ebdce 100644 --- a/src/gemma.cpp +++ b/src/gemma.cpp @@ -2846,7 +2846,7 @@ void GEMMA::BatchRun(PARAM &cPar) { cLmm.mdb_calc_gwa(U, eval, UtW, &UtY_col.vector, W, &Y_col.vector, cPar.setGWASnps); } - else + else { if (!cPar.file_bfile.empty()) { // PLINK analysis if (cPar.file_gxe.empty()) { @@ -2869,8 +2869,9 @@ void GEMMA::BatchRun(PARAM &cPar) { &Y_col.vector, env); } } - cLmm.WriteFiles(); // write output files - cLmm.CopyToParam(cPar); + cLmm.WriteFiles(); // write output files + cLmm.CopyToParam(cPar); + } } else { debug_msg("fit mvLMM (multiple phenotypes)"); MVLMM cMvlmm; |
