oscarbranson / cbsyst

Python module for calculating carbon and boron solution chemistry.
MIT License
29 stars 17 forks source link

Failure in kgen dependency when temperature/salinity/pressure are not specified #36

Closed rossidae closed 7 months ago

rossidae commented 8 months ago

cbsyst errors out when some inputs are set to None due to a bug in the current version of Kgen.

Steps to reproduce: Install cbsyst

python3.10 -m venv .environment
source .environment/bin/activate
pip install cbsyst

Run a test

python
from cbsyst import Csys

result = Csys(pHtot=8.0,DIC=2000/1e6,unit="mol") // Produces error in kgen
rossidae commented 7 months ago

Closed with update to Kgenv0.3.2