From 53530c209c17fe1f3b37513b53c2f0ef9a491dc3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 3 Jan 2025 01:35:06 -0600 Subject: Adding support for checkpoints and relevant documentation --- src/gemma_io.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gemma_io.cpp') diff --git a/src/gemma_io.cpp b/src/gemma_io.cpp index b11bf88..698d3e2 100644 --- a/src/gemma_io.cpp +++ b/src/gemma_io.cpp @@ -42,6 +42,7 @@ #include "gsl/gsl_matrix.h" #include "gsl/gsl_vector.h" +#include "checkpoint.h" #include "debug.h" // #include "eigenlib.h" #include "fastblas.h" @@ -552,6 +553,7 @@ bool ReadFile_bim(const string &file_bim, vector &snpInfo) { infile.close(); infile.clear(); + checkpoint("read-bimbam-file",file_bim); return true; } @@ -869,6 +871,7 @@ bool ReadFile_geno(const string &file_geno, const set &setSnps, infile.close(); infile.clear(); + checkpoint("read-geno-file",file_geno); return true; } -- cgit v1.2.3