From 00fcaf230984406bac1d3df94c7882c24594459c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Coppens?= Date: Thu, 25 Feb 2021 12:59:38 +0100 Subject: [PATCH] Replaced dataset. --- tests/convert-to-h5.py | 2 +- tests/test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/convert-to-h5.py b/tests/convert-to-h5.py index 72a1173..e3dcaf9 100644 --- a/tests/convert-to-h5.py +++ b/tests/convert-to-h5.py @@ -7,7 +7,7 @@ def rl(rf): with h5py.File('datasets.hdf5', 'w') as f: - with open('datasets.short.dat', 'r') as rf: + with open('datasets.dat', 'r') as rf: while(1): line = rl(rf) if not line or not line.startswith('#START_PACKET'): diff --git a/tests/test.cpp b/tests/test.cpp index 01ae2b5..de0b63d 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -7,9 +7,9 @@ #include "../Helpers.hpp" using namespace H5; -#define DEBUG 1 +//#define DEBUG 0 -const H5std_string FILE_NAME( "datasets.small.hdf5" ); +const H5std_string FILE_NAME( "datasets.hdf5" ); void read_int(H5File file, std::string key, unsigned int * data) { DataSet ds = file.openDataSet(key);