Minor enhancements to make the plugin nice (print more information, add library version, upload RHEL8 compiled version to the repository)
This commit is contained in:
@@ -169,8 +169,15 @@ extern "C" {
|
||||
void plugin_open(const char *filename, int info[1024], int *error_flag) {
|
||||
std::unique_lock sl(plugin_mutex);
|
||||
|
||||
std::cout << "Jungfraujoch XDS plugin" << std::endl;
|
||||
std::cout << "Version " << jfjoch_version() << std::endl;
|
||||
std::cout << "********** Jungfraujoch XDS plugin **********" << std::endl;
|
||||
std::cout << "Jungfraujoch version " << jfjoch_version() << std::endl;
|
||||
std::cout << "Plugin version " << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_PATCH << std::endl << std::endl;
|
||||
std::cout << "Copyright (C) 2024-2026 Paul Scherrer Institute" << std::endl;
|
||||
std::cout << "This program comes with ABSOLUTELY NO WARRANTY" << std::endl;
|
||||
std::cout << "This is free software, and you are welcome to redistribute it" << std::endl;
|
||||
std::cout << "under certain conditions (GPLv3)" << std::endl << std::endl;
|
||||
std::cout << "Based on durin plugin from Diamond Light Source Ltd. with modification from the Global Phasing Ltd." << std::endl;
|
||||
std::cout << "(BSD-3 license)" << std::endl << std::endl;
|
||||
try {
|
||||
FillInfoArray(info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user