Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtney Peverley committed Oct 12, 2023
1 parent d8b7b04 commit 5560875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/parse_tools/parse_checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
_UNIT_REGEX = f"[a-zA-Z]+{_UNIT_EXPONENT}?"
_UNITS_REGEX = f"^({_UNIT_REGEX}(\s{_UNIT_REGEX})*|{_UNITLESS_REGEX})$"
_UNITS_RE = re.compile(_UNITS_REGEX)
_MAX_MOLAR_MASS = 10000.0

def check_units(test_val, prop_dict, error):
"""Return <test_val> if a valid unit, otherwise, None
Expand Down

0 comments on commit 5560875

Please sign in to comment.