Message Boards Message Boards

0
|
8255 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Errors in some ChemicalData isomeres?

Posted 6 years ago

I was trying to get
ChemicalData["C18H30O2", "MolarMass"]

which returns 9 values
{277.43g/mol,277.43g/mol,277.43g/mol,277.43g/mol,278.44g/mol,278.44g/mol,278.44g/mol,278.44g/mol,278.44g/mol}
of which only last 5 are right.

Looking why this could happen, it seems like Mathematica tries to get all known isomeres for "C18H30O2" but apparently several of them have invalid data.

That is, ChemicalData["C18H30O2"] returns
{crepenynate,alpha-eleostearate,calendate,punicate,linolenic acid,1,2-dihexyloxybenzene,11-trans-13-trans-15-cis-octadecatrienoic acid,gamma-linolenate,4-dodecylresorcinol}
Which is right, but again Map[ChemicalData[#, "MolarMass"] &, ChemicalData["C18H30O2"]]
gives wrong molar masses
{277.43g/mol,277.43g/mol,277.43g/mol,277.43g/mol,278.44g/mol,278.44g/mol,278.44g/mol,278.44g/mol,278.44g/mol}

POSTED BY: Jus Krey
2 Replies
Posted 6 years ago

Thanks! FormulaString is right, vertices are wrong. Whatever, I imagine this can be scanned and compared.

POSTED BY: Jus Krey

Thanks for pointing this out. The issue seems to stem from

In[27]:= Entity["Chemical", "Crepenynate"]["FormulaString"]

Out[27]= "C18H30O2"

In[26]:= Entity["Chemical", "Crepenynate"]["VertexTypes"] // Tally

Out[26]= {{"C", 18}, {"O", 2}, {"H", 29}}

In this case, the "Formula" is entered incorrectly, which led to this entity being in the "C18H30O2" entity class. I will file a bug report.

POSTED BY: Jason Biggs
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract