-
Notifications
You must be signed in to change notification settings - Fork 47
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
Added .mol functionality #290
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #290 +/- ##
==========================================
+ Coverage 95.00% 95.04% +0.03%
==========================================
Files 74 76 +2
Lines 8790 8975 +185
Branches 1213 1227 +14
==========================================
+ Hits 8351 8530 +179
- Misses 191 194 +3
- Partials 248 251 +3
Continue to review full report at Codecov.
|
@FarnazH |
add unit tests for mol implementation, roberto compliant
I accidentally pushed to master, which is part of the pull request, then pushed my unit tests to I added unit test file |
Thanks for the contribution and my apologies for the delay. The code is almost identical to that for the SDF format. When looking for the differences, I could only find one thing related to the end marker for a single molecule:
Are there any other differences? If not, I'd suggest extending the SDF code to also handle the |
Hi @tovrstra
However, I do remember being confused about V2000 and V3000 formatting, as well as the bond block, so I will review those before implementing your recommendation. |
The file
iodata/formats/mol.py
implements V2000 *.mol compatibility, based heavily off of currently implemented *.sdf compatibility