mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* clean up of python and c++ for-loops
* readd assignement
* Remove misleading walrus operators (#7323)
* Run installed tests if applicable (#7325)
* simpler check for equality
* Revert "simpler check for equality"
py assert does not work pointwise on lists on all platforms,
we need to iterate through all elements
This reverts commit 03cc0ad1a6.
* fix ambiguity on truth value of np arrays
* compare list elementwise
---------
Co-authored-by: Matt Swain <m.swain@me.com>
26 lines
732 B
C++
26 lines
732 B
C++
// $Id$
|
|
//
|
|
// Copyright (C) 2003-2006 Rational Discovery LLC
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
// This file is part of the RDKit.
|
|
// The contents are covered by the terms of the BSD license
|
|
// which is included in the file license.txt, found at the root
|
|
// of the RDKit source tree.
|
|
//
|
|
|
|
#include <RDBoost/Wrap.h>
|
|
#include <ChemicalFeatures/FreeChemicalFeature.h>
|
|
#include <RDBoost/PySequenceHolder.h>
|
|
|
|
void wrap_freefeat();
|
|
|
|
BOOST_PYTHON_MODULE(rdChemicalFeatures) {
|
|
python::scope().attr("__doc__") =
|
|
"Module containing free chemical feature functionality\n\
|
|
These are features that are not associated with molecules. They are \n\
|
|
typically derived from pharmacophores and site-maps.\n";
|
|
|
|
wrap_freefeat();
|
|
}
|