Skip to content

standardize_formula: handle ambiguous dash-hyphens#264

Merged
rkingsbury merged 3 commits intomainfrom
bugfix
Jul 21, 2025
Merged

standardize_formula: handle ambiguous dash-hyphens#264
rkingsbury merged 3 commits intomainfrom
bugfix

Conversation

@rkingsbury
Copy link
Copy Markdown
Member

Summary

There are various unicode characters that look like a dash or a hyphen, all of which can be used to represent "minus" in a chemical formula. This PR updates standardize_formula to handle the most common variants and converts them all to the most common "minus sign".

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.81%. Comparing base (92e93bd) to head (d9b0e65).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #264      +/-   ##
==========================================
+ Coverage   81.79%   81.81%   +0.02%     
==========================================
  Files           9        9              
  Lines        1494     1496       +2     
  Branches      257      258       +1     
==========================================
+ Hits         1222     1224       +2     
  Misses        226      226              
  Partials       46       46              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rkingsbury rkingsbury added the fix Bug Fixes label Jul 21, 2025
@rkingsbury rkingsbury merged commit 1520a80 into main Jul 21, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant