Skip to content

Commit

Permalink
Fix pint issue (#94)
Browse files Browse the repository at this point in the history
* Remove definition of refractive index as this has already been officially added to Pint

* Bump pint to >=0.24.1

---------

Co-authored-by: Peter Kraus <[email protected]>
  • Loading branch information
NukP and PeterKraus authored Sep 2, 2024
1 parent b5e1a51 commit 22c1864
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"uncertainties",
"pandas<2.1.0",
"openpyxl",
"pint>=0.22",
"pint>=0.24.1",
"chemicals>=1.0.0",
"rdkit>=2022.3",
"h5netcdf~=1.0",
Expand Down
1 change: 0 additions & 1 deletion src/dgpost/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
logger = logging.getLogger(__name__)
ureg = pint.get_application_registry()

ureg.define("refractive_index_units = [] = RIU")
ureg.define("standard_milliliter = milliliter = smL")


Expand Down

0 comments on commit 22c1864

Please sign in to comment.