Skip to content

Commit

Permalink
PyIRoGlass v0.6.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahshi committed Mar 26, 2024
1 parent 7bc0c48 commit 8c89c40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions UnitTests/test_concentration.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_beer_lambert(self):
result = pig.beer_lambert(
self.molar_mass, self.absorbance, self.density, self.thickness, self.epsilon
)
expected = 4.03475462729302
expected = 4.036918931617838
self.assertAlmostEqual(
result,
expected,
Expand Down Expand Up @@ -267,7 +267,7 @@ def test_concentration(self):
concentrations = pig.calculate_concentrations(
self.PH, self.MI_Composition, self.thickness, None
)
expected_H2O = 2.54383576945602
expected_H2O = 2.54386321287308
expected_CO2 = 752.347159392848
self.assertAlmostEqual(
float(concentrations["H2Ot_MEAN"].iloc[0]),
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/test_density_epsilon.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_epsilon_calculation(self):
tau = float(epsilon["Tau"].iloc[0])
expected_tau = 0.682894853
epsilon_h2ot = float(epsilon["epsilon_H2Ot_3550"].iloc[0])
expected_epsilon_h2ot = 64.5268644303552
expected_epsilon_h2ot = 64.49365540510483
sigma_epsilon_h2ot = float(epsilon["sigma_epsilon_H2Ot_3550"].iloc[0])
expected_sigma_epsilon_h2ot = 7.37609147230662
self.assertAlmostEqual(
Expand Down
Binary file modified src/PyIRoGlass/H2Om1635PC.npz
Binary file not shown.

0 comments on commit 8c89c40

Please sign in to comment.