Skip to content

Utility functions#17

Merged
php1ic merged 5 commits intomainfrom
utility_functions
Mar 28, 2026
Merged

Utility functions#17
php1ic merged 5 commits intomainfrom
utility_functions

Conversation

@php1ic
Copy link
Copy Markdown
Owner

@php1ic php1ic commented Mar 27, 2026

Add some quality of life utility functions.

These aren't necessarily used internally to parse the data, but may be useful in the future.

php1ic added 3 commits March 22, 2026 18:12
The main store of element symbols follow the title case convention. This
new function will provide an easy way of validating and converting input
to this format.
There is more than element conversion going on in the class so use a
more generic name and update the filename while we are at it.

Add accessors for symbol to proton number conversion
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.86%. Comparing base (24fb89f) to head (b131a7e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
+ Coverage   99.72%   99.86%   +0.13%     
==========================================
  Files          10       10              
  Lines         730      737       +7     
==========================================
+ Hits          728      736       +8     
+ Misses          2        1       -1     

☔ 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.

@php1ic php1ic merged commit 9585cab into main Mar 28, 2026
11 checks passed
@php1ic php1ic deleted the utility_functions branch March 28, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants