code style fixed
This commit is contained in:
parent
ffdba50968
commit
d7087edf70
|
@ -240,7 +240,7 @@ class fluid_system:
|
||||||
Array of gibbs free energy divided by RT (dimensionless)
|
Array of gibbs free energy divided by RT (dimensionless)
|
||||||
"""
|
"""
|
||||||
return lookup(self._g_rt_array, t, self._t_offset)
|
return lookup(self._g_rt_array, t, self._t_offset)
|
||||||
|
|
||||||
def get_species_references(self) -> str:
|
def get_species_references(self) -> str:
|
||||||
"""Get a string with the references for all fluids of the fluid system
|
"""Get a string with the references for all fluids of the fluid system
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import gaspype as gp
|
import gaspype as gp
|
||||||
|
|
||||||
|
|
||||||
def test_fluid_references():
|
def test_fluid_references():
|
||||||
fs = gp.fluid_system('Cl, CH4, H2O, C2H6, C3H8')
|
fs = gp.fluid_system('Cl, CH4, H2O, C2H6, C3H8')
|
||||||
|
|
||||||
|
@ -9,4 +10,4 @@ H2O : Hf:Cox,1989. Woolley,1987. TRC(10/88) tuv25. [g 8/89]
|
||||||
C2H6 : Ethane. Pamidimukkala,1982. [g 7/00]
|
C2H6 : Ethane. Pamidimukkala,1982. [g 7/00]
|
||||||
C3H8 : Hf:TRC(10/85) w1350. Chao,1973. [g 2/00]"""
|
C3H8 : Hf:TRC(10/85) w1350. Chao,1973. [g 2/00]"""
|
||||||
|
|
||||||
assert reference_string == fs.get_species_references(), 'fs.get_species_references() == ' + fs.get_species_references()
|
assert reference_string == fs.get_species_references(), 'fs.get_species_references() == ' + fs.get_species_references()
|
||||||
|
|
Loading…
Reference in New Issue