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

Bugfix in get_total_amount; CHANGELOG for next version #182

Merged
merged 4 commits into from
Sep 2, 2024
Merged

Conversation

rkingsbury
Copy link
Member

@rkingsbury rkingsbury commented Sep 2, 2024

Summary

Fixes a subtle bug that caused get_total_amount to fail when passed an element with no oxidation state (such as N) that also occurs as part of another element name (such as Na)

Also improves formatting of ammonium sulfate salts in standardize_formula.

@rkingsbury rkingsbury added release:patch will issue a patch release fix Bug Fixes labels Sep 2, 2024
Copy link

codecov bot commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.17%. Comparing base (ab46f3b) to head (8bb933a).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #182      +/-   ##
==========================================
+ Coverage   83.11%   83.17%   +0.05%     
==========================================
  Files           9        9              
  Lines        1481     1486       +5     
  Branches      320      322       +2     
==========================================
+ Hits         1231     1236       +5     
  Misses        214      214              
  Partials       36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rkingsbury rkingsbury merged commit 50a873d into main Sep 2, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug Fixes release:patch will issue a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant