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 8c89c40 commit 4b884b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 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.036918931617838
expected = 4.034754627293028
self.assertAlmostEqual(
result,
expected,
Expand Down Expand Up @@ -196,7 +196,7 @@ def test_concentration(self): # OL53
concentrations = pig.calculate_concentrations(
self.PH, self.MI_Composition, self.thickness, None
)
expected_H2O = 4.03475462729302
expected_H2O = 4.036918931617838
expected_CO2 = 735.058557154539
self.assertAlmostEqual(
float(concentrations["H2Ot_MEAN"].iloc[0]),
Expand Down Expand Up @@ -268,7 +268,7 @@ def test_concentration(self):
self.PH, self.MI_Composition, self.thickness, None
)
expected_H2O = 2.54386321287308
expected_CO2 = 752.347159392848
expected_CO2 = 752.5429016613664
self.assertAlmostEqual(
float(concentrations["H2Ot_MEAN"].iloc[0]),
expected_H2O,
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 @@ -85,7 +85,7 @@ def test_epsilon_calculation(self):
epsilon_h2ot = float(epsilon["epsilon_H2Ot_3550"].iloc[0])
expected_epsilon_h2ot = 64.49365540510483
sigma_epsilon_h2ot = float(epsilon["sigma_epsilon_H2Ot_3550"].iloc[0])
expected_sigma_epsilon_h2ot = 7.37609147230662
expected_sigma_epsilon_h2ot = 7.380834041750025
self.assertAlmostEqual(
tau,
expected_tau,
Expand Down

0 comments on commit 4b884b6

Please sign in to comment.