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

Boost.Python.Argument.Error #11

Closed
darose93 opened this issue Apr 21, 2020 · 4 comments
Closed

Boost.Python.Argument.Error #11

darose93 opened this issue Apr 21, 2020 · 4 comments

Comments

@darose93
Copy link

I am currently attempting to run this program on a Mac and have been able to open up the GUI, however, once I input the files and start the calculations python will immediately crash. The error code below was displayed so I updated my boost package to boost-1.67.0-py37_4 however this did not appear to have any effect.

Boost.Python.ArgumentError: Python argument types in rdkit.Chem.rdinchi.MolToInchi(NoneType, str) did not match C++ signature: MolToInchi(RDKit::ROMol mol, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > options='')

I have minimal experience working with python so any insight into this issue would be really appreciated.

@HowarthA
Copy link
Collaborator

Hi,
Despite being developed and tested most extensively on Linux, DP4-AI will run on a macOS. What version of rdkit do you have installed? The inchi generation code is running smoothly on my Mac (OS Mojave) using Python 3.7 and rdkit version 2019.09.3.0.

@darose93
Copy link
Author

darose93 commented Apr 22, 2020 via email

@KristapsE
Copy link
Collaborator

sdf2tinkerxyz is a Linux binary that converts the sdf file to tinker xyz format, so the problem in hindsight is not unexpected. TINKER on Mac OS is definitely a combination we haven't tried yet.

You should try downloading the Mac OS binary for sdf2tinkerxyz copy it over the file you downloaded from the GitHub.

http://sdf2xyz2sdf.sourceforge.net/?Downloads

@KristapsE
Copy link
Collaborator

I assume that this fixed the issue, so I will close this issue now.

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

3 participants