-
Notifications
You must be signed in to change notification settings - Fork 154
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
out of memory when getting weights from molecule consisting of chloridehydrochloride salts #737
Comments
As a rule of thumb most algorithms in the CDK-EXTRA modules are bit wonky and not maintained well. Since this index tool uses shortest paths between node any molecule with more than one component will fail (since there is no path between the two components). I don't know enough about the algorithm to but a simple fix would be split the molecule up and process each component on it's own (e.g. It actually doesn't look too bad to fix, I would probably update FloydAPSP with -1 to indicate not connected rather than 999,999. Multiple BFS's is actually more efficient. The problem is would these then still be valid HuLuIndexes. More to the point why did you need HuLuIndexes, why not use InChI numbering for example. |
@rajarshi, didn't you use the |
@johnmay thanks for your advice,I'll try it. I use HuLuIndexTool for a specific goal which |
Hmm not sure they're unique :-) |
I've got a patch BTW to handle multiple components, not too bad in the end |
cheers! |
btw, does CDK has the module of calculating pKa value for small molecules? trying to search this feature but in vain. |
Maybe time to revisit https://chem-bla-ics.blogspot.com/2008/10/pka-prediction-or-how-to-convert-jcim.html (but I think the issue can be close, correct?) |
when calculating atmoic weights from a molecule which contains chloridehydrochloride salts, it results in heap space problem. codes as follow:
errors :
it mostly likes entering in an endless loop resulting in memory overflow.
The text was updated successfully, but these errors were encountered: