Closed Python3-8 closed 3 years ago
107-32-4: https://en.wikipedia.org/wiki/Performic_acid , formula = CH2O3
63-79-6: https://en.wikipedia.org/wiki/Carbonic_acid , formula = CH2O3
the main problem is that a search by formula is not unique. it also seems that h2co3
is stored as a synonym of Carbonic acid
Hi Pranav, Andrés is exactly correct! The synonyms are from pubchem and unexpected things happen sometimes, like h2co3 resolving to something different than CH2O3. I strongly recommend avoiding searching by formula. You can retrieve more information about a chemical with the method search_chemical; i.e. the name can be found with a query like:
>>> search_chemical('carbonic acid').common_name
"carbonic acid"
Sincerely, Caleb
Your question has inspired me to begin working on documentation for the project again. https://chemicals.readthedocs.io/tutorial.html may provide assistance as well. Thank you, Andrés, for your help with this!
Also, may I know the difference between
CAS_from_any('h2co3')
andCAS_from_any('H2CO3')
? They seem to return different results:'463-79-6'
, and'107-32-4'
.