Skip to content

Commit

Permalink
Merge pull request #1 from CV-GPhL/CV-GPhL-patch-1
Browse files Browse the repository at this point in the history
Update H5ToXds.cpp to write compilation time if available
  • Loading branch information
CV-GPhL authored Mar 14, 2024
2 parents 85399e6 + 1b4e6a0 commit 19b3c84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dectris/neggia/plugin/H5ToXds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,11 @@ void plugin_open(const char* filename, int info_array[1024], int* error_flag) {
*error_flag = 0;
printVersionInfo();
std::unique_ptr<H5DataCache> dataCache(new H5DataCache);

#ifdef GPHL_COMPILE_DATE
std::cout << std::endl << " XDS HDF5/Neggia plugin " << info_array[1] << "." << info_array[2] << "." << info_array[3] << " (Dectris, 2017-2021; GPhL, 2019-2021 - built " << GPHL_COMPILE_DATE << ")" << std::endl;
#endif

try {
dataCache->filename = filename;
dataCache->h5File = H5File(filename);
Expand Down

0 comments on commit 19b3c84

Please sign in to comment.