mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
Support XYZ format for output (#2498)
This commit is contained in:
committed by
Greg Landrum
parent
871940fc45
commit
b2f755e64b
@@ -189,6 +189,13 @@ void setPreferCoordGen(bool);
|
||||
return RDKit::MolToHELM(*($self));
|
||||
}
|
||||
|
||||
std::string MolToXYZBlock(int confId=-1) {
|
||||
return RDKit::MolToXYZBlock(*($self), confId);
|
||||
}
|
||||
void MolToXYZFile(std::string fName, int confId=-1) {
|
||||
RDKit::MolToXYZFile(*($self), fName, confId);
|
||||
}
|
||||
|
||||
bool hasSubstructMatch(RDKit::ROMol &query,bool useChirality=false){
|
||||
RDKit::MatchVectType mv;
|
||||
return SubstructMatch(*($self),query,mv,true,useChirality);
|
||||
|
||||
Reference in New Issue
Block a user