Skip to content

Conversation

@greschd
Copy link
Member

@greschd greschd commented May 21, 2025

Allow normalizing strings before converting them to a protobuf enum value. By default, the string is converted to lowercase.

This means that all capitalizations of the string will be accepted, for example "SI", "Si", "si" will all be accepted in the unit system parameter.

Closes #793.

Allow normalizing strings before converting them to a protobuf
enum value. By default, the string is converted to lowercase.

This means that all capitalizations of the string will be accepted,
for example "SI", "Si", "si" will all be accepted in the unit system
parameter.

Closes #793.
@greschd greschd requested review from SRaimondi and roosre as code owners May 21, 2025 07:27
@greschd greschd linked an issue May 21, 2025 that may be closed by this pull request
@codecov
Copy link

codecov bot commented May 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.96%. Comparing base (7f32cb6) to head (39024c1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #848   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files         110      110           
  Lines        5815     5816    +1     
  Branches      338      338           
=======================================
+ Hits         5522     5523    +1     
  Misses        292      292           
  Partials        1        1           
Flag Coverage Δ
direct-launch 91.43% <100.00%> (+<0.01%) ⬆️
minimum-deps 93.07% <100.00%> (+<0.01%) ⬆️
python-3.10 94.15% <100.00%> (+<0.01%) ⬆️
python-3.11 94.08% <100.00%> (+<0.01%) ⬆️
python-3.12 94.08% <100.00%> (+<0.01%) ⬆️
python-3.13 94.32% <100.00%> (+<0.01%) ⬆️
server-2024R2 90.52% <100.00%> (+<0.01%) ⬆️
server-2025R1 94.11% <100.00%> (+<0.01%) ⬆️
server-2025R2 94.08% <100.00%> (+<0.01%) ⬆️
server-2026R1 94.08% <100.00%> (+<0.01%) ⬆️
server-latest 94.72% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@greschd greschd added this to the 2025R2 release milestone May 21, 2025
@greschd greschd enabled auto-merge (squash) May 22, 2025 08:11
@greschd greschd merged commit 5825968 into main May 22, 2025
34 checks passed
@greschd greschd deleted the fix/793-ignore-capitalization-in-unit_system-parameter branch May 22, 2025 08:28
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.

Ignore capitalization in 'unit_system' parameter

3 participants