Skip to content

docs: use actual lowercase parameter names in error messages (#1885)#1891

Open
marceli1404 wants to merge 1 commit into
vprusso:masterfrom
marceli1404:fix/lowercase-param-errors
Open

docs: use actual lowercase parameter names in error messages (#1885)#1891
marceli1404 wants to merge 1 commit into
vprusso:masterfrom
marceli1404:fix/lowercase-param-errors

Conversation

@marceli1404

Copy link
Copy Markdown

Fixes #1885

Replace MATLAB/QETLAB-style uppercase parameter names with actual Python parameter names in user-facing error messages:

  • \ oqito/channel_props/channel_dim.py\ — \PHI\ → \phi, \DIM\ → \dim\ in 4 error messages
  • \ oqito/perms/permute_systems.py\ — \DIM\ → \dim, \X\ → \input_mat\
  • \ oqito/states/horodecki.py\ — \DIM\ → \dim\

No tests assert on these exact strings, so no test updates were needed.

Fixes vprusso#1885

Replace MATLAB/QETLAB-style uppercase parameter names (PHI, DIM, X) with
the actual Python parameter names (phi, dim, input_mat) in user-facing
ValueError messages so users can map the error to their code.
@vprusso

vprusso commented Jul 25, 2026

Copy link
Copy Markdown
Owner

@marceli1404 your build is failing FYI

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.

docs: use actual lowercase parameter names in error messages

2 participants