We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1fc0a commit 97c65d5Copy full SHA for 97c65d5
src/geophires_x/Units.py
@@ -11,7 +11,7 @@ def get_unit_registry():
11
if _UREG is None:
12
_UREG = pint.get_application_registry()
13
_UREG.load_definitions(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'GEOPHIRES3_newunits.txt'))
14
- _UREG.preprocessors.append(lambda s: s.replace('%', 'percent'))
+ _UREG.preprocessors.append(lambda s: s.replace('%%', 'percent'))
15
16
return _UREG
17
0 commit comments