opsin icon indicating copy to clipboard operation
opsin copied to clipboard

Correct structure for ionic liquid cation?

Open simonmb opened this issue 4 years ago • 3 comments

Maybe I am doing something wrong myself, but if I use the following name: 1-decyl-3-methyl-1H-imidazolium I get the following structure: 1-decyl-3-methyl-1H-imidazolium

If I use the following name: 1-Decyl-3-methyl-1H-imidazol-3-ium I get the following structure: 1-Decyl-3-methyl-1H-imidazol-3-ium

Am I doing something wrong? Or is opsin doing something wrong?

simonmb avatar May 04 '21 07:05 simonmb

I think in principle OPSIN should give the same interpretation for both names. In practice OPSIN currently applies the ium suffix before the indicated hydrogen is considered, and hence interprets it incorrectly as 1-decyl-3-methyl-1H-imidazol-1-ium, moving the application of unlocanted suffixes later is an improvement I'd like to do to OPSIN at some point. Nonetheless the correct IUPAC name for this compound is 1-Decyl-3-methyl-1H-imidazol-3-ium, this avoids any potential ambiguity.

dan2097 avatar May 19 '21 08:05 dan2097

I think in principle OPSIN should give the same interpretation for both names. In practice OPSIN currently applies the ium suffix before the indicated hydrogen is considered, and hence interprets it incorrectly as 1-decyl-3-methyl-1H-imidazol-1-ium, moving the application of unlocanted suffixes later is an improvement I'd like to do to OPSIN at some point. Nonetheless the correct IUPAC name for this compound is 1-Decyl-3-methyl-1H-imidazol-3-ium, this avoids any potential ambiguity.

Hi @dan2097 , we are currently working on ILThermo, so a huge database on ionic liquids and it would really help if you implemented the changes you proposed in the comment above.

simonmb avatar Oct 27 '22 11:10 simonmb

Fixing it in the way I described is unfortunately quite involved. According to ChEBI (https://www.ebi.ac.uk/chebi/searchId.do?chebiId=50059) imidazolium typically refers to 1H-imidazol-3-ium hence in the above commit I've made the far simple change of just having imidazol-3-ium be the default when no locant is given.

Can you let me know whether this is sufficient to fix the issue you were seeing on other examples . Your original example is now correctly interpreted.

dan2097 avatar Oct 30 '22 20:10 dan2097

Thank you for implementing this, but I have been using the web interface, so unfortunately I am unable to test the changes.

simonmb avatar Nov 02 '22 06:11 simonmb

I've updated the web interface

dan2097 avatar Nov 02 '22 22:11 dan2097

I can confirm it is working now,

simonmb avatar Nov 07 '22 09:11 simonmb