mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-12-26 14:23:47 +01:00
Replaced dataset.
This commit is contained in:
parent
a5e8ab82e9
commit
00fcaf2309
@ -7,7 +7,7 @@ def rl(rf):
|
|||||||
|
|
||||||
|
|
||||||
with h5py.File('datasets.hdf5', 'w') as f:
|
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):
|
while(1):
|
||||||
line = rl(rf)
|
line = rl(rf)
|
||||||
if not line or not line.startswith('#START_PACKET'):
|
if not line or not line.startswith('#START_PACKET'):
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
#include "../Helpers.hpp"
|
#include "../Helpers.hpp"
|
||||||
|
|
||||||
using namespace H5;
|
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) {
|
void read_int(H5File file, std::string key, unsigned int * data) {
|
||||||
DataSet ds = file.openDataSet(key);
|
DataSet ds = file.openDataSet(key);
|
||||||
|
Loading…
Reference in New Issue
Block a user