about summary refs log tree commit diff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
authorPjotr Prins2025-12-02 09:04:28 +0100
committerPjotr Prins2025-12-02 09:04:28 +0100
commita1e252bfc7fc874fb4c442288b4b33e232d5002e (patch)
tree240d7bd5910ee39f273221265b2064f7ec60fcd5 /src/gemma.cpp
parentdb417c280c570dc153ec72b3874b11c23761f969 (diff)
downloadpangemma-a1e252bfc7fc874fb4c442288b4b33e232d5002e.tar.gz
Started generating output
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r--src/gemma.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index 69e338a..c7f7ab6 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -2842,9 +2842,10 @@ void GEMMA::BatchRun(PARAM &cPar) {
           gsl_vector_view UtY_col = gsl_matrix_column(UtY, 0); // and its transformed
           write(&Y_col.vector, "Y_col");
 
-          if (cPar.is_mdb)
+          if (cPar.is_mdb) {
             cLmm.mdb_calc_gwa(U, eval, UtW, &UtY_col.vector, W,
                               &Y_col.vector, cPar.setGWASnps);
+          }
           else
             if (!cPar.file_bfile.empty()) {
               // PLINK analysis