Closed ctk3b closed 9 years ago
Hm, have you tried calling draw
with the format="json"
keyword argument? If you do that, there's a short circuit here that just ensures the json is valid without requiring open babel. If that doesn't work, let me know!
Hmm I guess I didn't read carefully enough. That should absolutely work. Running into some other issues now but they don't seem to be related so I'll close this for now.
If the molecule is already in the correct json format this removes the need to convert anything under the hood.
This is the small tweak I would need to use this for my other project.