diff --git a/H5ChunkedWriter.cpp b/H5ChunkedWriter.cpp index 09c9c24..e466627 100644 --- a/H5ChunkedWriter.cpp +++ b/H5ChunkedWriter.cpp @@ -64,7 +64,7 @@ void HDF5ChunkedWriter::close_file() #ifdef DEBUG std::cout << "Trying to close an already closed file." << std::endl; #endif - + return; } @@ -222,29 +222,3 @@ hsize_t HDF5ChunkedWriter::prepare_storage_for_frame(size_t frame_index, size_t* return relative_frame_index; } - -int main (int argc, char *argv[]) -{ - - HDF5ChunkedWriter writer("juhu-%d.h5", "data", 4, 2); - - char data[100]; - size_t frame_shape[]={10, 10}; - // Frame size is in bytes. - size_t data_bytes_size = frame_shape[0] * frame_shape[1] * 1; - - - for( size_t frame_index=0; frame_index<10; ++frame_index ) - { - for( uint32_t y=0; y