mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
reciever hdf5 compiling error fixed
This commit is contained in:
@ -143,8 +143,9 @@ public:
|
|||||||
static void CloseVirtualDataFile(hid_t& fd)
|
static void CloseVirtualDataFile(hid_t& fd)
|
||||||
{
|
{
|
||||||
if(fd) {
|
if(fd) {
|
||||||
if (H5Fclose(fd) < 0 )
|
if (H5Fclose(fd) < 0 ) {
|
||||||
FILE_LOG(logERROR) << "Could not close virtual HDF5 handles";
|
FILE_LOG(logERROR) << "Could not close virtual HDF5 handles";
|
||||||
|
}
|
||||||
fd = 0;
|
fd = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -810,7 +811,7 @@ public:
|
|||||||
} else if (datatype == PredType::STD_U8LE) {
|
} else if (datatype == PredType::STD_U8LE) {
|
||||||
FILE_LOG(logINFO) << "datatype:8";
|
FILE_LOG(logINFO) << "datatype:8";
|
||||||
} else {
|
} else {
|
||||||
FILE_LOG(logERROR) << "Unknown datatype: " << datetype;
|
FILE_LOG(logERROR) << "Unknown datatype: " << datatype;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
FILE_LOG(logINFO) << "owenable:" << (owenable?1:0) << std::endl
|
FILE_LOG(logINFO) << "owenable:" << (owenable?1:0) << std::endl
|
||||||
|
@ -451,7 +451,7 @@ void slsReceiverImplementation::setFileFormat(const fileFormat f) {
|
|||||||
for(const auto& it : dataProcessor)
|
for(const auto& it : dataProcessor)
|
||||||
it->SetFileFormat(f);
|
it->SetFileFormat(f);
|
||||||
|
|
||||||
FILE_LOG(logINFO) << "File Format:" << getFileFormatType(fileFormatType);
|
FILE_LOG(logINFO) << "File Format: " << getFileFormatType(fileFormatType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user