oscarbranson / cbsyst

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

data_out() was broken by pH scale changes, fixed #33

Closed danielgaskell closed 1 year ago

danielgaskell commented 1 year ago
  1. Fixed data_out() to work now that pH is recorded in the output bunch on multiple scales instead of just "pH"; the blunt solution here is just to list all the scales as separate columns, and let the user sort it out.
  2. Fixed crashes due to the the .size attribute not existing for scalars by swapping out bitwise ANDs for logical ANDs (which perform short-circuit evaluation).