Skip to content

Commit

Permalink
Update example with changes in package module names.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Nov 21, 2024
1 parent c74ab0a commit 7d777b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/example/example.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
r"""Example in python."""
import sys
sys.path.insert(0, "../py/src/")
sys.path.insert(0, "../src/")
import pycodata

print("########## VERSION ##########")
Expand All @@ -14,6 +14,6 @@

print("########## OLDER VALUES ##########")
print(f"Mu_2022 = ", pycodata.MOLAR_MASS_CONSTANT["value"])
print(f"Mu_2018 = ", pycodata.constants_2018.MOLAR_MASS_CONSTANT_2018["value"])
print(f"Mu_2014 = ", pycodata.constants_2014.MOLAR_MASS_CONSTANT_2014["value"])
print(f"Mu_2010 = ", pycodata.constants_2010.MOLAR_MASS_CONSTANT_2010["value"])
print(f"Mu_2018 = ", pycodata.codata_constants_2018.MOLAR_MASS_CONSTANT_2018["value"])
print(f"Mu_2014 = ", pycodata.codata_constants_2014.MOLAR_MASS_CONSTANT_2014["value"])
print(f"Mu_2010 = ", pycodata.codata_constants_2010.MOLAR_MASS_CONSTANT_2010["value"])

0 comments on commit 7d777b0

Please sign in to comment.