-
Notifications
You must be signed in to change notification settings - Fork 13
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 message while excuting predict.py #4
Comments
I guess this error may be triggered by CCDC python API. Then, copying files in "ccgnet-OB" replace original ones and try the same command again. No ccdc error is found, but related rdkit error is prompted. I have installed RDKit. Could you please give me a hint to solve it? =========== Thank you. |
Hi
This error may be lead by rdkit. The windows version of rdkit may not contain rdFreeSASA module. You can try it on linux.
…---Original---
From: ***@***.***>
Date: Thu, Jun 1, 2023 13:20 PM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: Re: [Saoge123/ccgnet] Error message while excuting predict.py (Issue#4)
I guess this error may be triggered by CCDC python API. Then, copying files in "ccgnet-OB" replace original ones and try the same command again. No ccdc error is found, but related rdkit error is prompted. I have installed RDKit. Could you please give me a hint to solve it?
===========
Traceback (most recent call last):
File "predict.py", line 4, in
from Featurize import *
File "D:\QSAR\ccgnet-main\Featurize_init_.py", line 2, in
from .CalcuDescriptors import *
File "D:\QSAR\ccgnet-main\Featurize\CalcuDescriptors.py", line 4, in
from rdkit.Chem import Descriptors, rdFreeSASA
ImportError: cannot import name 'rdFreeSASA'
Thank you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi CMD: python predict.py -table ./data/Test/Test_Table.tab -mol_dir ./data/Test/coformers -out cc_test.xlsx -fmt sdf
|
Did you get a solution to this? I tried the code with anaconda. Once I fix one error I run into another. Some are Tensor flow errors although I have version 2.0 in my anaconda environment. Can anyone at least give the list of libraries with correct version numbers? The predict.py version in ccgnet-OB won't accept model path parameter. Not sure how to specify it?? Thanks. |
As it turns out most errors were due to tensorflow (v2 doesn't work so, you need a prior version) and unavailability of things like xlsx writer. Now, I get the output but, there are bunch of warning type errors during the calculation. I am not sure what these errors mean for the accuracy of the calculations. The authors are quite unhelpful and did not respond to any of my emails. ============================== ============================== |
does this require ccdc python api? |
yes
…---Original---
From: ***@***.***>
Date: Tue, Jun 11, 2024 19:03 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [Saoge123/ccgnet] Error message while excuting predict.py (Issue#4)
does this require ccdc python api?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I have encountered a problem similar to yours. It will report this error when running the demo.
Do I have to run on Linux? I have already installed CCDC on Windows. |
Hi Saoge123,
We appriciate your valuable work and code for co-crystal prediction.
While I use the example command to run predict.py, the python code reports an error message as following. It seems that I don't have ccdc module. However, there is no further instruction in this blog and README.md. Could you please figure out how to fix it?
============
Traceback (most recent call last):
File "predict.py", line 4, in
from Featurize import *
File "D:\QSAR\ccgnet-main\Featurize_init_.py", line 7, in
from .Change_Hbond_Criterion import Change_Hbond_Criterion
File "D:\QSAR\ccgnet-main\Featurize\Change_Hbond_Criterion.py", line 2, in
import ccdc
ModuleNotFoundError: No module named 'ccdc'
Many thanks.
The text was updated successfully, but these errors were encountered: