Skip to content

Commit

Permalink
Attempt to fix a broken Appveyor build #1
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Jan 17, 2017
1 parent 0be824b commit 5829108
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_chemical.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ def test_Chemical_properties_T_dependent():

assert_allclose(w.permittivity, 77.70030000000001)

assert_allclose(w.JTl, -2.2029508371866032e-07)
assert_allclose(w.JTg, 0.00016057626157512468)
assert_allclose(w.JTl, -2.2029508371866032e-07, rtol=1E-3)
assert_allclose(w.JTg, 0.00016057626157512468, rtol=1E-3)

assert_allclose(w.nul, 8.566921938819405e-07)
assert_allclose(w.nug, 1.3008181744108452e-05)
assert_allclose(w.nul, 8.566921938819405e-07, rtol=1E-3)
assert_allclose(w.nug, 1.3008181744108452e-05, rtol=1E-3)

assert_allclose(w.Prl, 5.854395582989558)
assert_allclose(w.Prg, 0.9803087814815961)
assert_allclose(w.Prl, 5.854395582989558, rtol=1E-3)
assert_allclose(w.Prg, 0.9803087814815961, rtol=1E-3)

assert_allclose(w.solubility_parameter, 47863.51384219548)
assert_allclose(w.Parachor, 9.363768522707514e-06)
Expand Down
1 change: 1 addition & 0 deletions thermo/chemical.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ def eos(self):
0.024410195021818258
'''
return self.eos_in_a_box[0]

@eos.setter
def eos(self, eos):
if self.eos_in_a_box:
Expand Down

0 comments on commit 5829108

Please sign in to comment.