diff --git a/sammy/src/io/Hdf5IO.cpp b/sammy/src/io/Hdf5IO.cpp index a561f5007633dda6510135d9395cafccebf07185..b81cc466aee0927a331f377c9230ffe978e4bb1e 100644 --- a/sammy/src/io/Hdf5IO.cpp +++ b/sammy/src/io/Hdf5IO.cpp @@ -59,10 +59,6 @@ namespace sammy { // --- header ----- fillHDF5header(odfhead); - for( auto bit : h5head ){ - std::cout << bit.key << " = " << bit.value << std::endl; - } - hsize_t mdim[1]; mdim[0] = h5head.size(); int mrank = sizeof(mdim) / sizeof(hsize_t); diff --git a/sammy/src/io/Hdf5IO.h b/sammy/src/io/Hdf5IO.h index 16393d2c83723530b8cf2c78ae3d4bf7aed6feb6..dd073a0f4a1b8785c94721d30ff260a961390bd0 100644 --- a/sammy/src/io/Hdf5IO.h +++ b/sammy/src/io/Hdf5IO.h @@ -11,6 +11,10 @@ namespace sammy{ + /***************************************************************** + * This struct defines the keypair values that will be used to + * compose the header for HDF5 metadata + ****************************************************************/ struct headKeypair{ const char * key; int value; diff --git a/sammy/src/io/OdfIO.cpp b/sammy/src/io/OdfIO.cpp index e25b939fe8990337bc72bda40ce2c0d0a3607147..11a2241c5094ce20223b3aa4642d2d047e38b7b0 100644 --- a/sammy/src/io/OdfIO.cpp +++ b/sammy/src/io/OdfIO.cpp @@ -113,7 +113,7 @@ namespace sammy{ // comments based on OPRODF manual: Jack Craven, report no. ORNL/CSD/TM-45, 1978 // ** keep in mind that changes may have happened between that report and // ** the writing of the files!!! For example it seems that 36 bit ints are no - // ** longer used. + // ** longer used (32 bit now). in.read( (char*)&head["mode"], intsize ); // 0,1,3 for 18-bit ints, 36-bit ints, floating-point vals in.read( (char*)&head["source"], intsize ); // 0,1,2 for SEL, CSISRS, or ENDF/B data in.read( (char*)&head["irun"], intsize ); // run number diff --git a/sammy/src/io/convertodf.cpp b/sammy/src/io/convertodf.cpp index 305f0565efc5cc2c007b74d5f57e5f874015894a..ea652389e43ae387960079f7713bfc941af5dfa1 100644 --- a/sammy/src/io/convertodf.cpp +++ b/sammy/src/io/convertodf.cpp @@ -50,7 +50,5 @@ int main(int argc, char const *argv[]) sammy::Hdf5IO h5writer; h5writer.writeODFtoHDF5(odf.getHeader(),data,hdf5Filename); - - return 0; } \ No newline at end of file