mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
Debug
This commit is contained in:
parent
cf62f8cae8
commit
9508dd1adc
@ -216,7 +216,7 @@ bool HDF5File::OpenFrameIndexDataset() {
|
||||
|
||||
int HDF5File::OpenResources (char const*const fname, bool validate) {
|
||||
|
||||
cprintf(BLUE, "Attempting to open file: %s\n", fname);
|
||||
std::cout << "Debug HDF5File.cpp: Attempting to open file " << fname << std::endl;
|
||||
// Open File
|
||||
file = H5Fopen (fname, H5F_ACC_RDONLY, H5P_DEFAULT);
|
||||
if (file < 0) {
|
||||
|
@ -210,7 +210,7 @@ int main(int argc, char *argv[]) {
|
||||
auto firstfileh5 = std::make_unique<HDF5File>();
|
||||
firstfileh5->SetFrameIndexPath(frameindexpath);
|
||||
firstfileh5->SetImageDataPath(datasetpath);
|
||||
std::cout << "Debug" << "Attempting to open file " << filenames[0].c_str() << std::endl;
|
||||
std::cout << "Debug: Attempting to open file " << filenames[0].c_str() << std::endl;
|
||||
if ( firstfileh5->OpenResources(filenames[0].c_str(), validate_rank) ) {
|
||||
|
||||
// Validate number of threads
|
||||
|
Loading…
x
Reference in New Issue
Block a user