Commit 46fe0d7c by Maarten L. Hekkelman

fixed cmake file

reduced verbosity for missing atoms
update script, more cross platform
parent 0371cec4
...@@ -88,6 +88,7 @@ if(EXISTS "${CCP4}") ...@@ -88,6 +88,7 @@ if(EXISTS "${CCP4}")
option(RECREATE_SYMOP_DATA "Recreate SymOp data table in case it is out of date" ON) option(RECREATE_SYMOP_DATA "Recreate SymOp data table in case it is out of date" ON)
endif() endif()
else() else()
set(RECREATE_SYMOP_DATA OFF)
message("Not trying to recreate SymOpTable_data.hpp since CCP4 is not defined") message("Not trying to recreate SymOpTable_data.hpp since CCP4 is not defined")
endif() endif()
......
...@@ -1053,7 +1053,7 @@ Atom Residue::atomByID(const std::string &atomID) const ...@@ -1053,7 +1053,7 @@ Atom Residue::atomByID(const std::string &atomID) const
} }
} }
if (not result and cif::VERBOSE) if (not result and cif::VERBOSE > 1)
std::cerr << "Atom with atom_id " << atomID << " not found in residue " << mAsymID << ':' << mSeqID << std::endl; std::cerr << "Atom with atom_id " << atomID << " not found in residue " << mAsymID << ':' << mSeqID << std::endl;
return result; return result;
......
...@@ -48,6 +48,6 @@ fetch_dictionary "@CIFPP_CACHE_DIR@/components.cif" "ftp://ftp.wwpdb.org/pub/pdb ...@@ -48,6 +48,6 @@ fetch_dictionary "@CIFPP_CACHE_DIR@/components.cif" "ftp://ftp.wwpdb.org/pub/pdb
# notify subscribers # notify subscribers
if [ -d /etc/libcifpp/cache-update.d ]; then if [ -d /etc/libcifpp/cache-update.d ] && [ -x /bin/run-parts ]; then
run-parts --arg "@CIFPP_CACHE_DIR@" -- /etc/libcifpp/cache-update.d run-parts --arg "@CIFPP_CACHE_DIR@" -- /etc/libcifpp/cache-update.d
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment