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

Error Code: 1092. #6

Open
srdjanma opened this issue Jul 30, 2021 · 4 comments
Open

Error Code: 1092. #6

srdjanma opened this issue Jul 30, 2021 · 4 comments

Comments

@srdjanma
Copy link

My mol2 files look accurate, but when running the emolfrags.py script I am getting this error. In addition out of 1000 molecules I get in output-bricks only few files.

My input file is consisted of multiple mol2 files that contain 3D coordinates etc, as it exist in examples test file. My input files also have different names.

Anybody knows how to solve this issue?

@UR-Free
Copy link

UR-Free commented Oct 27, 2021

Hi, I also met this problem, and finally I solved it through my guess.
I tried the test tutorail, and it worked, but not worked on my own folder which include many mol2 files.
I guess it may because there is some difference between the "formulate" of ours mol2 files and the standard mol2 formulate accpeted by eMolFrag, so I used openbabel to convert it, and then eMolFrag worked on the convert mol2 files

@cplateVT
Copy link

I am getting error 1092 on the tutorial package :(

@KeithTab
Copy link

I am getting error 1092 on the tutorial package :(

Hi, I met this problem also in version eMolFrag_2017_01_18_01,but when I change to eMolFrag_2016_12_30_01 ,this problem on tutorial packages will not open ,so I guess you may have a choice to change a version:)

@Haomiaowu
Copy link

I encountered the same issue today. The problem is mainly caused by RDKit, which sometimes fails to read MOL2 files correctly and generates a None object instead of raising an error. This can lead to subsequent failures. The solution is to read all your MOL2 files with RDKit, delete the files that generate None objects, and use the following code to read your MOL2 files: Chem.MolFromMol2File(your_mol2, sanitize=False)

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

5 participants