mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-07 22:44:25 +08:00
code cleanup, more testing
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <GraphMol/MolPickler.h>
|
||||
#include <GraphMol/SmilesParse/SmilesParse.h>
|
||||
#include <GraphMol/SmilesParse/SmilesWrite.h>
|
||||
#include <GraphMol/Substruct/SubstructMatch.h>
|
||||
#include <GraphMol/ChemReactions/ReactionParser.h>
|
||||
|
||||
#include "RDKFuncs.h"
|
||||
@@ -26,11 +25,6 @@ std::string MolToSmiles(ROMOL_SPTR mol,bool doIsomericSmiles,
|
||||
bool doKekule, int rootedAtAtom) {
|
||||
return MolToSmiles(*mol,doIsomericSmiles,doKekule,rootedAtAtom);
|
||||
};
|
||||
bool hasSubstructMatch(ROMol &mol,ROMol &query,bool useChirality,
|
||||
bool registerQuery){
|
||||
MatchVectType mv;
|
||||
return SubstructMatch(mol,query,mv,true,useChirality,registerQuery);
|
||||
};
|
||||
|
||||
ChemicalReaction *ReactionFromSmarts(std::string sma) {
|
||||
return RxnSmartsToChemicalReaction(sma);
|
||||
|
||||
Reference in New Issue
Block a user