mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
- remove redundant #include - avoid unnecessary copy of match - expose SubstructMatchParams to JS MinimalLib - add JS SubstructMatchParams test Co-authored-by: ptosco <paolo.tosco@novartis.com>
This commit is contained in:
@@ -656,8 +656,20 @@ EMSCRIPTEN_BINDINGS(RDKit_minimal) {
|
||||
get_avalon_fp_as_uint8array))
|
||||
#endif
|
||||
#endif
|
||||
.function("get_substruct_match", &JSMolBase::get_substruct_match)
|
||||
.function("get_substruct_matches", &JSMolBase::get_substruct_matches)
|
||||
.function("get_substruct_match",
|
||||
select_overload<std::string(const JSMolBase &) const>(
|
||||
&JSMolBase::get_substruct_match))
|
||||
.function(
|
||||
"get_substruct_match",
|
||||
select_overload<std::string(const JSMolBase &, const std::string &)
|
||||
const>(&JSMolBase::get_substruct_match))
|
||||
.function("get_substruct_matches",
|
||||
select_overload<std::string(const JSMolBase &) const>(
|
||||
&JSMolBase::get_substruct_matches))
|
||||
.function(
|
||||
"get_substruct_matches",
|
||||
select_overload<std::string(const JSMolBase &, const std::string &)
|
||||
const>(&JSMolBase::get_substruct_matches))
|
||||
.function("get_descriptors", &JSMolBase::get_descriptors)
|
||||
.function("get_morgan_fp",
|
||||
select_overload<std::string() const>(&JSMolBase::get_morgan_fp))
|
||||
|
||||
Reference in New Issue
Block a user