From b1a333b4f57f2084ebca6af9ea19c7841f725a99 Mon Sep 17 00:00:00 2001 From: Ryan Kingsbury Date: Sat, 30 Sep 2023 14:47:41 -0400 Subject: [PATCH] edits to CI, docstring cleanup, CHANGELOG --- .github/workflows/post-process.yml | 2 +- CHANGELOG.md | 2 +- src/pyEQL/solution.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-process.yml b/.github/workflows/post-process.yml index 7d587512..9de1f8ec 100644 --- a/.github/workflows/post-process.yml +++ b/.github/workflows/post-process.yml @@ -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." diff --git a/CHANGELOG.md b/CHANGELOG.md index f2139ddd..342ae535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/pyEQL/solution.py b/src/pyEQL/solution.py index 7be2927f..c4137265 100644 --- a/src/pyEQL/solution.py +++ b/src/pyEQL/solution.py @@ -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 @@ -987,7 +987,7 @@ def osmotic_pressure(self) -> Quantity: Examples: >>> s1=pyEQL.Solution() >>> s1.osmotic_pressure - 0.0 + >>> s1 = pyEQL.Solution([['Na+','0.2 mol/kg'],['Cl-','0.2 mol/kg']]) >>> soln.osmotic_pressure