Skip to content

Documentation for SubstructLibrary.get_matches should be explicit that the default number of max matches is 1000 #586

Open

Description

@pechersky

Describe the bug
Without specifying max_matches, it is 1000. This is due

static constexpr int d_defaultMaxResults = 1000;

https://github.com/rdkit/rdkit/blob/5755fddb9e037a526cb8f8578e1933da18e3ccb9/Code/MinimalLib/minilib.h#L351

Expected behavior
When max_matches is unspecified, all the matches are returned.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions