Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution: add print(), deprecate list_xxx methods #30

Merged
merged 6 commits into from
Oct 17, 2023
Merged

Conversation

rkingsbury
Copy link
Member

@rkingsbury rkingsbury commented Aug 18, 2023

  • add a Solution.print() method
  • modify __str__
  • deprecate list_concentrations and list_activities, list_salts, and list_solutes

Solution.print() accepts several keyword arguments to customize the output - one can specify the units, whether to list amounts of all solutes or cations/anions/neutrals/all ions, and the number of decimal places to round to.

@rkingsbury rkingsbury changed the title Solution: add print(), deprecate list_conc/activity Solution: add print(), deprecate list_xxx methods Oct 17, 2023
@rkingsbury rkingsbury merged commit d6c4410 into main Oct 17, 2023
11 checks passed
@rkingsbury rkingsbury deleted the sol_print branch October 17, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant