mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
disable Info and Debug logs by default (#5065)
* disable the info and debug logs by default * adjust tests to the newly disabled logs * add LogStateSetter * namespace reorg * add some tests * remove vestigial code * switch to using std::vector
This commit is contained in:
@@ -160,6 +160,8 @@ void getExperimentalTorsions(const RDKit::ROMol &mol, CrystalFFDetails &details,
|
||||
throw ValueErrorException("molecule has no atoms");
|
||||
}
|
||||
|
||||
RDLog::LogStateSetter logs(
|
||||
RDLog::RDLoggerList({rdInfoLog, rdErrorLog, rdWarningLog}));
|
||||
// check that vectors are empty
|
||||
details.expTorsionAtoms.clear();
|
||||
details.expTorsionAngles.clear();
|
||||
|
||||
Reference in New Issue
Block a user