You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi-anion ester: a locanted anion in enclosing marks is not parsed unless it carries a substituent prefix ("3-[(9Z)-octadec-9-enoate]") #357
Thank you for the fix of #354 (dd51e9f). With current master (6ebd4ce), the functional-class name of a polyol ester of different acids fails when an anion word that has a locant stands in enclosing marks and has no substituent prefix.
Minimal reproducer:
propane-1,2,3-triyl 1,3-diacetate 2-(butanoate) -> "The following was not parseable: ate)"
propane-1,2,3-triyl 1,3-diacetate 2-butanoate -> C(CCC)(=O)OC(COC(C)=O)COC(C)=O
This matters for a stereodescriptor, which needs the enclosing marks. The IUPAC 2013 recommendations give this PIN (P-65.6.3.3.3.2 "When anions are different, two methods are used", method (1), fourth example):
propane-1,2,3-triyl 2-acetate 1-hexadecanoate 3-[(9Z)-octadec-9-enoate]
-> "The following was not parseable: ate]"
Expected: CCCCCCCC/C=C\CCCCCCCC(=O)OCC(OC(C)=O)COC(=O)CCCCCCCCCCCCCCC, the structure OPSIN gives for the method (2) name of the same example, 2-(acetyloxy)-3-(hexadecanoyloxy)propyl (9Z)-octadec-9-enoate.
propane-1,2,3-triyl 1,3-diacetate 2-[(2R)-2-methylbutanoate] (stereodescriptor and prefix)
read
propane-1,2,3-triyl 3-acetate 1,2-di(hexadecanoate) (multiplier before the marks)
read
So the trigger appears to be a locant followed directly by enclosing marks around an anion with no substituent prefix, saturated or unsaturated. Without the marks the name is read, but a stereodescriptor such as (9Z) needs them, so the PIN above has no spelling that OPSIN reads.
Activity