Skip to content

Commit

Permalink
hopefully fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelcortes committed Jun 5, 2023
1 parent b39839e commit d3dcd70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
python -m pip install --upgrade pip
python -m pip install wheel
pip install -r requirements_test.txt
# pip install git+https://github.com/CalebBell/chemicals.git
# pip install git+https://github.com/CalebBell/fluids.git
# pip install git+https://github.com/CalebBell/thermo.git
pip install --no-cache-dir git+https://github.com/CalebBell/chemicals.git
pip install --no-cache-dir git+https://github.com/CalebBell/fluids.git
pip install --no-cache-dir git+https://github.com/CalebBell/thermo.git
pip install --no-cache-dir git+https://github.com/BioSTEAMDevelopmentGroup/biosteam.git
pip install --no-cache-dir git+https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park.git
pip uninstall thermosteam -y
Expand Down
4 changes: 2 additions & 2 deletions thermosteam/_chemical.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ class Chemical:
HHV: -0 J/mol
Hfus: 6010 J/mol
Sfus: None
omega: 0.3443
omega: 0.344
dipole: 1.85 Debye
similarity_variable: 0.16653
iscyclic_aliphatic: 0
Expand Down Expand Up @@ -1987,7 +1987,7 @@ def get_missing_properties(self, properties=None):
>>> from thermosteam import Chemical
>>> Substance = Chemical.blank('Substance', phase_ref='l')
>>> sorted(Substance.get_missing_properties())
['Cn', 'Dortmund', 'H', 'HHV', 'H_excess', 'Hf', 'Hfus', 'Hvap', 'LHV', 'MW', 'PSRK', 'Pc', 'Psat', 'Pt', 'S', 'S_excess', 'Sfus', 'Tb', 'Tc', 'Tm', 'Tt', 'UNIFAC', 'Vc', 'combustion', 'dipole', 'epsilon', 'iscyclic_aliphatic', 'omega', 'sigma', 'similarity_variable']
['Cn', 'Dortmund', 'H', 'HHV', 'H_excess', 'Hf', 'Hfus', 'Hvap', 'LHV', 'MW', 'PSRK', 'Pc', 'Psat', 'Pt', 'S', 'S_excess', 'Sfus', 'Tb', 'Tc', 'Tm', 'Tt', 'UNIFAC', 'Vc', 'combustion', 'dipole', 'epsilon', 'iscyclic_aliphatic', 'kappa', 'mu', 'omega', 'sigma', 'similarity_variable']
"""
getfield = getattr
Expand Down
4 changes: 2 additions & 2 deletions thermosteam/equilibrium/bubble_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class BubblePointBeta:
>>> # Solve bubble point at constant temperature
>>> bp = BP(z=molar_composition, T=355)
>>> bp
BubblePointValues(T=355.00, P=111447, IDs=['Water', 'Ethanol'], z=[0.5 0.5], y=[0.341 0.659])
BubblePointValues(T=355.00, P=111467, IDs=['Water', 'Ethanol'], z=[0.5 0.5], y=[0.341 0.659])
>>> # Note that the result is a BubblePointValues object which contain all results as attibutes
>>> (bp.T, round(bp.P), bp.IDs, bp.z, bp.y)
(355, 111467, ['Water', 'Ethanol'], array([0.5, 0.5]), array([0.341, 0.659]))
Expand Down Expand Up @@ -344,7 +344,7 @@ def solve_Ty(self, z, P):
>>> tmo.settings.set_thermo(chemicals)
>>> BP = tmo.equilibrium.BubblePointBeta(chemicals)
>>> tmo.docround(BP.solve_Ty(z=np.array([0.6, 0.4]), P=101325))
(353.4052, array([0.38 , 0.62]))
(353.4013, array([0.38 , 0.621]))
"""
positives = z > 0.
Expand Down

0 comments on commit d3dcd70

Please sign in to comment.