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

Workaround for timeouts in JNI InChI - default timeout included of 5 … #223

Merged
merged 1 commit into from Aug 17, 2016

Conversation

johnmay
Copy link
Member

@johnmay johnmay commented Aug 11, 2016

…seconds rather than infinite.

You can pass the timeout in JNI InChI as it sanitises input options. Since this is the only option with a value '-W6' = 6 seconds it was being rejected during parsing (looking for 'Wnumber'). A workaround is implemented here that extends the input class with option parsing to accept the timeout.

@egonw egonw merged commit bfb3d6c into master Aug 17, 2016
@johnmay johnmay deleted the patch/inchitimeout branch August 18, 2016 14:55
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

Successfully merging this pull request may close these issues.

None yet

2 participants