eMolFrag icon indicating copy to clipboard operation
eMolFrag copied to clipboard

Error Code: 1092.

Open srdjanma opened this issue 3 years ago • 4 comments

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?

srdjanma avatar Jul 30 '21 05:07 srdjanma

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

UR-Free avatar Oct 27 '21 13:10 UR-Free

I am getting error 1092 on the tutorial package :(

cplateVT avatar Jan 13 '22 15:01 cplateVT

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:)

KeithTab avatar Apr 27 '22 11:04 KeithTab

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)

Haomiaowu avatar Apr 07 '23 07:04 Haomiaowu