User 677b9c22ff
27-10-2008 21:11:16
Hi,
The INCHI import usually works like charm, however
if the INCHI code is broken or incorrect it takes and infinite(?) time
to finish, with the only solution to kill the whole process.
Example Beta carotene (one with plus at the end, one without plus)
Doesnt work
Works
Is it possible to set an timout lets say depending on the speed of the computer or 10 seconds? I know it uses the DLL wrapper and it might not be easy to kill an erroneous process.
Cheers
Tobias
The INCHI import usually works like charm, however
if the INCHI code is broken or incorrect it takes and infinite(?) time
to finish, with the only solution to kill the whole process.
Example Beta carotene (one with plus at the end, one without plus)
Doesnt work
Code: |
InChI=1/C40H56/c1-31(19-13-21-33(3)25-27-37-35(5)23-15-29-39(37,7)8)17-11-12-18-32(2)20-14-22-34(4)26-28-38-36(6)24-16-30-40(38,9)10/h11-14,17-22,25-28H,15-16,23-24,29-30H2,1-10H3/b12-11+,19-13+,20-14+,27-25+,28-26+,31-17+,32-18+,33-21+,34-22 |
Works
Code: |
InChI=1/C40H56/c1-31(19-13-21-33(3)25-27-37-35(5)23-15-29-39(37,7)8)17-11-12-18-32(2)20-14-22-34(4)26-28-38-36(6)24-16-30-40(38,9)10/h11-14,17-22,25-28H,15-16,23-24,29-30H2,1-10H3/b12-11+,19-13+,20-14+,27-25+,28-26+,31-17+,32-18+,33-21+,34-22+ |
Is it possible to set an timout lets say depending on the speed of the computer or 10 seconds? I know it uses the DLL wrapper and it might not be easy to kill an erroneous process.
Cheers
Tobias