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

method of obtaining single mol in generator #17

Open
vtlim opened this issue Oct 10, 2018 · 2 comments
Open

method of obtaining single mol in generator #17

vtlim opened this issue Oct 10, 2018 · 2 comments

Comments

@vtlim
Copy link
Owner

vtlim commented Oct 10, 2018

standardize how this is done in pipeline. for test_confs2psi.py calling next(_) on generator did not carry over SD tags which would cause test_make_frozen() to fail.

@vtlim
Copy link
Owner Author

vtlim commented Oct 14, 2018

This might not be a generator/next issue but that one has to get the conf of the mol. Though the next() thing should still be standardized.

@vtlim
Copy link
Owner Author

vtlim commented Oct 14, 2018

NOTE: OEConfIter doesn't act like a generator so can't just call next() on it to get the first conf.
One solution: conf = list(mol.GetConfs())[0] which works if not having a ton of conformers.
Also see @bannanc's solution in #2.

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

No branches or pull requests

1 participant