Skip to content

Commit

Permalink
line of code, sorry sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
jbousquin committed Sep 14, 2023
1 parent dfbd089 commit ccd24a9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions harmonize_wq/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,14 @@ def moles_to_mass(ureg, Q_, basis=None, char_val=None):
Examples
--------
Build standard Pint unit registry
Build standard Pint unit registry:
>>> import pint
>>> ureg = pint.UnitRegistry()
Build quantity
Build quantity:
Q_ = pint.Quantity('0.265 umol')
>>> Q_ = pint.Quantity('0.265 umol')
>>> convert.moles_to_mass(ureg, Q_, basis='as P')
"""
Expand Down

0 comments on commit ccd24a9

Please sign in to comment.