From c697ac63c012514e6441671c6607e86b55f1da38 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Thu, 23 Apr 2020 17:53:07 +0200 Subject: [PATCH] Make writer noisy again --- sf-writer/sf_h5_writer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sf-writer/sf_h5_writer.cpp b/sf-writer/sf_h5_writer.cpp index 6883382..7eda4bd 100644 --- a/sf-writer/sf_h5_writer.cpp +++ b/sf-writer/sf_h5_writer.cpp @@ -180,10 +180,10 @@ int main (int argc, char *argv[]) cout << "Received pulse_id " << metadata->pulse_id << endl; -// if (metadata->pulse_id != current_pulse_id) { -// cout << "ERROR expecting " << current_pulse_id; -// cout << " diff " << current_pulse_id - metadata->pulse_id << endl; -// } + if (metadata->pulse_id != current_pulse_id) { + cout << "ERROR expecting " << current_pulse_id; + cout << " diff " << current_pulse_id - metadata->pulse_id << endl; + } // TODO: Write to H5