-
Notifications
You must be signed in to change notification settings - Fork 15
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
long strings #14
Comments
Hi, Is that lång SMILES string copied exactly? Because I don't think it's a valid SMILES. There are a few numbers that are not within the brackets, meaning that they should be ring closures. But as such they need to match and in your example you have a single one and a single two. Kind regards, Skickat från min iPhone
|
Thanks for your answer; |
Hi, |
Hi, |
Hi, The query takes less than 0.05s, it is not a timeout issue. With Mychem, timeout issues appear mostly when the argument passed to the mychem function is incomplete or when there is some issue running the openbabel library. Can you enable the Mychem test suite and run it? Jerome |
Hi @Pansanel @fredrikw @hmpelta , any update on this? will not work with Molecules with less than ~1000 chars work fine, but after breaking this limit (it's not exact, but it's close to this) simply crashes MySQL with error log:
Please let me know if you have any info on this problem, looks like a limitation from MySQL |
Problem persists with MariaDB 10.1.48, in this case the crash is not immediate, mysql tries to run the operation indefinitely and has to be killed. |
@Pansanel /* Max length for a text or a blob */
/* #define MAX_VALUE_LENGTH 65536 */
/* Increasing to 10x the original length- check what makes sense here */
#define MAX_VALUE_LENGTH 655360 |
@paulo-maia Thank you for reporting this issue and helping to solve it! The value of MAX_VALUE_LENGTH was set several years ago with older version of MySQL. We had encounter issues with bigger values. It seems to be solved now. I have to check if there is a recommended limit for the |
I found it: |
Hi,
I installed Mychem and it works normally if input string is n`t very long.
for example :
select MOLECULE_TO_CANONICAL_SMILES(SMILES_TO_MOLECULE("[CH4]"));
works fine but if input smiles become:
smiles.pdf
mychem returns :
ERROR 2013 (HY000): Lost connection to MySQL server during query
I checked openbabel with this smiles and it returned true value .
Your comments and suggestions are welcome.
thanks in advance;
The text was updated successfully, but these errors were encountered: