From 882a426c70370e50a521435e1b2175598e0fe411 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 30 Nov 2025 07:41:48 +0100 Subject: Fetch ni_total from lmdb --- src/param.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/param.cpp') diff --git a/src/param.cpp b/src/param.cpp index a720801..05e4a7b 100644 --- a/src/param.cpp +++ b/src/param.cpp @@ -1120,7 +1120,7 @@ void PARAM::CheckData(void) { } // Output some information. - if (file_cor.empty() && file_mstudy.empty() && file_study.empty() && + if (!is_mdb && file_cor.empty() && file_mstudy.empty() && file_study.empty() && a_mode != 15 && a_mode != 27 && a_mode != 28) { cout << "## number of total individuals = " << ni_total << endl; if (a_mode == 43) { @@ -1294,7 +1294,7 @@ void PARAM::ReadBIMBAMGenotypes(gsl_matrix *UtX, gsl_matrix *K, const bool calc_ } void PARAM::MdbCalcKin() { - error = !mdb_calc_kin(file_geno, setKSnps, indicator_snp, a_mode - 20); + error = !mdb_calc_kin(file_geno, is_loco(), indicator_snp, a_mode - 20); return; } -- cgit 1.4.1