Replaced dataset.

This commit is contained in:
François Coppens 2021-02-25 12:59:38 +01:00
parent a5e8ab82e9
commit 00fcaf2309
2 changed files with 3 additions and 3 deletions

View File

@ -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'):

View File

@ -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);