Closed ChayaSt closed 6 years ago
From what I can tell, this looks great.
Could you add a test (like the test I link below) that uses the new option for a molecule with more than one conformer? Adding a test will prevent someone else from breaking the feature you need in the future.
https://github.com/choderalab/openmoltools/blob/master/openmoltools/tests/test_openeye.py#L65
You can probably just check that you get more than one match for the string @<TRIPOS>MOLECULE
, if you read the output file back in as text.
You can probably just check that you get more than one match for the string @
MOLECULE, if you read the output file back in as text.
Thanks! I added such a test.
@bas-rustenburg, ready to merge?
Just a small check, it will be okay that this bugfix/change will not be available in Python 2.7?
@Lnaden, I'm not supporting Python 2.7 so it shouldn't be a problem.
Go for it then!
I added an option to write out all conformers in a multiconformer molecule to mol2 file.