Skip to content

Commit 5bba343

Browse files
committed
Some printouts commented out
1 parent 5ccd604 commit 5bba343

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/io/APRWriter.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class APRWriter {
9595

9696
template<typename ImageType>
9797
void read_apr(APR<ImageType>& apr, const std::string &file_name) {
98-
std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
98+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
9999

100100
// need to register the filters so they work properly
101101
register_blosc();
@@ -147,6 +147,7 @@ class APRWriter {
147147

148148
for (int i = apr.apr_access.level_min;i < apr.apr_access.level_max; i++) {
149149
int x_num, y_num, z_num;
150+
//TODO: x_num and other should have HDF5 type uint64?
150151
readAttr(AprTypes::NumberOfLevelXType, i, groupId, &x_num);
151152
readAttr(AprTypes::NumberOfLevelYType, i, groupId, &y_num);
152153
readAttr(AprTypes::NumberOfLevelZType, i, groupId, &z_num);
@@ -209,6 +210,7 @@ class APRWriter {
209210

210211
template<typename ImageType>
211212
void write_apr(APR<ImageType>& apr,std::string save_loc,std::string file_name){
213+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
212214
//compress
213215
APRCompress<ImageType> apr_compressor;
214216
apr_compressor.set_compression_type(0);
@@ -217,6 +219,7 @@ class APRWriter {
217219

218220
template<typename ImageType>
219221
float write_apr(APR<ImageType>& apr,std::string save_loc,std::string file_name,APRCompress<ImageType>& apr_compressor,unsigned int blosc_comp_type = BLOSC_ZSTD,unsigned int blosc_comp_level = 2,unsigned int blosc_shuffle=1){
222+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
220223
//
221224
//
222225
// Bevan Cheeseman 2018
@@ -421,6 +424,7 @@ class APRWriter {
421424

422425
template<typename ImageType,typename T>
423426
void write_apr_paraview(APR<ImageType>& apr,std::string save_loc,std::string file_name,ExtraParticleData<T>& parts){
427+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
424428
//
425429
//
426430
// Bevan Cheeseman 2018
@@ -560,6 +564,7 @@ class APRWriter {
560564

561565
template<typename S>
562566
float write_particles_only(std::string save_loc,std::string file_name,ExtraParticleData<S>& parts_extra){
567+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
563568
//
564569
//
565570
// Bevan Cheeseman 2018
@@ -642,6 +647,7 @@ class APRWriter {
642647
template<typename T>
643648
void read_parts_only(std::string file_name,ExtraParticleData<T>& extra_parts)
644649
{
650+
// std::cout << __func__ << ": Input file [" << file_name << "]" << std::endl;
645651
std::cout << "READING [" << file_name << "]\n";
646652

647653
//hdf5 inits

0 commit comments

Comments
 (0)