diff --git a/README.rst b/README.rst index 74294e81..a16c85af 100644 --- a/README.rst +++ b/README.rst @@ -385,7 +385,7 @@ If you make use of ChemPy in e.g. academic work you may cite the following peer- Depending on what underlying solver you are using you should also cite the appropriate paper (you can look at the list of references in the JOSS article). If you need to reference, in addition to the paper, a specific point version of ChemPy (for e.g. reproducibility) -you can get per-version DOIs from the zendodo archive: +you can get per-version DOIs from the zenodo archive: .. image:: https://zenodo.org/badge/8840/bjodah/chempy.svg :target: https://zenodo.org/badge/latestdoi/8840/bjodah/chempy diff --git a/chempy/util/parsing.py b/chempy/util/parsing.py index 66d6bdb3..aca30723 100644 --- a/chempy/util/parsing.py +++ b/chempy/util/parsing.py @@ -538,6 +538,7 @@ def to_reaction(line, substance_keys, token, Cls, globals_=None, **kwargs): internal_asterisk = re.compile(r"([^\s\*]+)\*([a-zA-Z0-9]+)") + def _formula_to_format( sub, sup,