Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iam_units/emissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

# Sets of symbols that refer to the same species and are interchangeable.
EQUIV = [
set(["CO2", "CO2_eq", "CO2e", "CO2eq", "C", "Ce"]),
set(["CO2", "CO2_eq", "CO2e", "CO2eq", "CO2-eq", "C", "Ce"]),
]

# Regular expression for one *SPECIES* in a pint-compatible unit string.
Expand Down
2 changes: 1 addition & 1 deletion iam_units/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# - Preceded by a space or '-' character.
# - Followed by a space, '-', '/', end-of-string, or non-word (\w) character.
# The latter avoids matching only the 'C' within 'CH4'.
_EMI_CODE = fr"""{_EMI_HEADER}
_EMI_CODE = rf"""{_EMI_HEADER}
import re

GWP_VERSION = '{gwp.__version__}'
Expand Down