Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just discovered something rather odd while using chemical curated data in Mathematica. I tried to extract EdgeRules for some molecules and some molecules gave me several copies of said EdgeRules as a list. Is this a bug? Have any of you found similar things happening with other curated data?


ChemicalData[#, "EdgeRules"] & /@ {"Glutamine", "Alanine", "Serine"}

This input gives me 1, 3 and 2 copies of the EdgeRules of the given molecules.

share|improve this question
It is good that you have found the answer to your question, but you should remove it from the question and make it an answer. Answering one's own question is not only allowed, it is encouraged. – m_goldberg Jun 28 '14 at 12:53
up vote 6 down vote accepted

I found the problem. Mathematica interprets the input string as a list of all available molecules that contain the input string as a substring.

{"DAlanine", "DLAlanine", "LAlanine"}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.