Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new param for enhanced stereo sss #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coleshaw
Copy link

Looks like there is a new-ish parameter for enhanced stereo during substructure searching: do_enhanced_stereo_sss. Currently, if I try setting that, I get an exception:

self = <django_rdkit.config.Config object at 0x7fffc8214460>
name = 'do_enhanced_stereo_sss', value = True

    def __setattr__(self, name, value):
        if not name in _PARAMETERS:
>           raise AttributeError
E           AttributeError

/usr/local/lib/python3.10/site-packages/django_rdkit/config.py:28: AttributeError

This adds support for setting that value via django_rdkit. Monkey-patching locally with this works when doing searches in Postgres with the RDKit cartridge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant