diff options
Diffstat (limited to 'src/GudhUI/model/Model.h')
-rw-r--r-- | src/GudhUI/model/Model.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/GudhUI/model/Model.h b/src/GudhUI/model/Model.h index e820a46e..dd9bdaab 100644 --- a/src/GudhUI/model/Model.h +++ b/src/GudhUI/model/Model.h @@ -310,13 +310,11 @@ class Model { void run_chomp() { save_complex_in_file_for_chomp(); std::cout << "Call CHOMP library\n"; - int returnValue = system("which homsimpl"); + int returnValue = system("homsimpl chomp.sim"); if (returnValue != 0) { - std::cout << "CHOMP must be installed and available in PATH for this functionnality." << std::endl; - return; + std::cout << "homsimpl (from CHOMP) failed. Please check it is installed or available in the PATH." + << std::endl; } - returnValue = system("homsimpl chomp.sim"); - std::cout << "CHOMP returns " << returnValue << std::endl; } void save_complex_in_file_for_chomp() { |