Skip to content

Commit

Permalink
edits to CI, docstring cleanup, CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
rkingsbury committed Sep 30, 2023
1 parent 94b90f1 commit b1a333b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/post-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
# loonly release when PRs with release:major/minor/patch labels are merged
bump_version_scheme: norelease
use_github_release_notes: true
release_body: "See CHANGELOG for a complete list of changes."
release_body: "See [CHANGELOG](https://github.com/rkingsbury/pyEQL/blob/main/CHANGELOG.md) for a detailed explanation of changes."
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.8.1] - 2023-09-30

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions src/pyEQL/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ def osmotic_pressure(self) -> Quantity:
Notes:
Osmotic pressure is calculated based on the water activity [sata]_ [wk]_
.. math:: \\Pi = \\frac{RT}{V_{w}} \\ln a_{w}
.. math:: \\Pi = -\\frac{RT}{V_{w}} \\ln a_{w}
Where :math:`\\Pi` is the osmotic pressure, :math:`V_{w}` is the partial
molar volume of water (18.2 cm**3/mol), and :math:`a_{w}` is the water
Expand All @@ -987,7 +987,7 @@ def osmotic_pressure(self) -> Quantity:
Examples:
>>> s1=pyEQL.Solution()
>>> s1.osmotic_pressure
0.0
<Quantity(0.495791416, 'pascal')>
>>> s1 = pyEQL.Solution([['Na+','0.2 mol/kg'],['Cl-','0.2 mol/kg']])
>>> soln.osmotic_pressure
Expand Down

0 comments on commit b1a333b

Please sign in to comment.