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

RDKit Molecule Extractor Node Cannot Handle Single Molecule #18

Closed
manuelschwarze opened this issue Apr 24, 2017 · 0 comments
Closed

RDKit Molecule Extractor Node Cannot Handle Single Molecule #18

manuelschwarze opened this issue Apr 24, 2017 · 0 comments
Assignees
Labels

Comments

@manuelschwarze
Copy link
Contributor

The RDKit Molecule Extractor Node splits a set of molecules into individual structures, but this only works if the SDF or SMILES contains two or more structures. If there's only one structure in the SDF or SMILES the RDKit Molecule Extractor generates no output structure at all resulting for instance in a blank table. This is a bug. It should in that case output the only structure that was found.

This was reported in the RDKit forum: http://tech.knime.org/forum/rdkit/rdkit-molecule-extractor-returns-empty-field-if-only-one-structure-present

manuelschwarze added a commit to manuelschwarze/knime-rdkit that referenced this issue Apr 26, 2017
Extractor node (Fixes rdkit#18).

Single fragments are treated as expected, resulting in a single output
row. If the sanitization option is on, it will be sanitized as multiple
fragments would.
Updated documentation and regression tests.
Additionally, added JRebel startup parameter for test preparation launch
file.
@manuelschwarze manuelschwarze self-assigned this Apr 26, 2017
greglandrum pushed a commit that referenced this issue Apr 27, 2017
* Bugfix for handling a single fragment in input data of RDKit Molecule
Extractor node (Fixes #18).

Single fragments are treated as expected, resulting in a single output
row. If the sanitization option is on, it will be sanitized as multiple
fragments would.
Updated documentation and regression tests.
Additionally, added JRebel startup parameter for test preparation launch
file.

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

No branches or pull requests

1 participant