From 9269871f76e87c7de01f30b0aea498d01a562a7d Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Tue, 11 Jul 2017 13:48:17 +0200 Subject: [PATCH] Set lddt binary version to OST version --- modules/mol/alg/src/lddt.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/mol/alg/src/lddt.cc b/modules/mol/alg/src/lddt.cc index 90c6819df..11e328e4d 100644 --- a/modules/mol/alg/src/lddt.cc +++ b/modules/mol/alg/src/lddt.cc @@ -40,6 +40,7 @@ #include <ost/platform.hh> #include <ost/log.hh> #include <ost/mol/alg/consistency_checks.hh> +#include <ost/version.hh> #if defined(__APPLE__) #include <mach-o/dyld.h> @@ -153,7 +154,7 @@ CompoundLibPtr load_compound_lib(const String& custom_path) #endif #endif if (exe_path.empty()) { - std::cerr << "Could not determine the path of the molck executable. Will only " + std::cerr << "Could not determine the path of the lddt executable. Will only " "look for compounds.chemlib in the current working directory" << std::endl; } else { fs::path path_and_exe(exe_path); @@ -187,7 +188,7 @@ bool is_resnum_in_globalrdmap(const ResNum& resnum, const GlobalRDMap& glob_dist int main (int argc, char **argv) { // sets some default values for parameters - String version = "1.2"; + String version = OST_VERSION_STRING; Real bond_tolerance = 12.0; Real angle_tolerance = 12.0; Real radius=15.0; -- GitLab