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 during sampling #1

Closed
zhouxiangxin1998 opened this issue Mar 24, 2023 · 3 comments
Closed

error during sampling #1

zhouxiangxin1998 opened this issue Mar 24, 2023 · 3 comments

Comments

@zhouxiangxin1998
Copy link

zhouxiangxin1998 commented Mar 24, 2023

During sampling, once the exception of UFF is triggered, an error will come from this line (https://github.com/zaixizhang/FLAG/blob/main/motif_sample.py#L295), and the program will exit.

ValueError: Bad Conformer Id

Could you give some explanations or suggestions to address this?

@zhouxiangxin1998
Copy link
Author

zhouxiangxin1998 commented Mar 24, 2023

There is another concern here:
If the exception of UFF is triggered (which means generating conformation by RDKit is failed), this sample is supposed to be skipped. Because the conformation is messy, not reliable, thus not suitable to be involved in the later sampling procedure. However, it seems that this sample is not skipped according to the code.

I'll appreciate it if you can leave some helpful messages about this.

@zaixizhang
Copy link
Owner

Thanks for your feedback!
The UFF error is caused by the rdkit function. You can use different seeds to skip the triggered error. We will optimize our code in future versions.

@yangzhao1230
Copy link

Hi,

I have tried more than ten random seeds, but I still encounter this error. Is this normal?

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