"""
Constants used in UConnRCMPy.
"""
import cantera

one_atm_in_torr = 760.0
"""`float`: Conversion between atmosphere and Torr."""
one_atm_in_bar = 1.01325
"""`float`: Conversion between atmosphere and bar."""
one_bar_in_pa = 1E5
"""`float`: Conversion between bar and Pascal."""
cantera_version = None
"""`list`: Installed version of Cantera software."""

try:
    cantera_version = list(map(int, cantera.__version__.split('.')))
except ValueError:
    cantera_version = list(map(int, cantera.__version__.split('.')[0:2]))
    cantera_version.append(int(cantera.__version__.split('.')[2][0]))

"""
Constants used in UConnRCMPy.
"""

one_atm_in_torr = 760.0
"""`float`: Conversion between atmosphere and Torr."""
one_atm_in_bar = 1.01325
"""`float`: Conversion between atmosphere and bar."""
one_bar_in_pa = 1.0E5
"""`float`: Conversion between bar and Pascal."""

Remove unused cantera_version definition