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

Improve the parameter_info() function #348

Merged
merged 3 commits into from
Sep 25, 2024

Commits on Sep 25, 2024

  1. Improve the parameter_info() function

    It now knows about system parameters, `SCALE-LINEAR`, `RAT-FUNC` and
    `SCALE-RAT-FUNC` and `COMPU-CODE` parameters.
    
    Signed-off-by: Andreas Lauser <[email protected]>
    Signed-off-by: Gerrit Ecke <[email protected]>
    andlaus committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    6503e1c View commit details
    Browse the repository at this point in the history
  2. DataType: provide custom __str__()

    this method returns what the `DataType` object would be on the python
    side. as [at]kayoub5 points out, this is probably what is wanted 90%
    of the time such an object is printed. Also, this can now be directly
    used by `parameter_info()`.
    
    thanks to [at]kayoub5 for the insistence.
    
    Signed-off-by: Andreas Lauser <[email protected]>
    Signed-off-by: Gerrit Ecke <[email protected]>
    andlaus committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2344851 View commit details
    Browse the repository at this point in the history
  3. avoid raising exceptions in DataType.__str__()

    thanks to [at]kayoub5 for pointing this out.
    
    Signed-off-by: Andreas Lauser <[email protected]>
    Signed-off-by: Gerrit Ecke <[email protected]>
    andlaus committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b9b0c55 View commit details
    Browse the repository at this point in the history