Skip to content

Add code to check for unrecognized keywords associated with default settings #528

Description

@murrayrm

As pointed out in #526, it is possible to pass unrecognized keywords to StateSpace and not get an error message. For example:

ct.StateSpace(A, B, C, D, remove_useless=True)

(the actual keyword should be remove_useless_states).

Similarly,

ct.set_defaults('statesp', remove_useless=True)

should generate an error.

Activity

  1. murrayrm commented on Feb 22, 2021

    @murrayrm
    MemberAuthor

    There is some code to help carry this out in PR #549 (ct.config._get_param has a new keyword last).

  2. self-assigned this
    on Mar 19, 2022
  3. added this to the 0.9.2 milestone on Mar 19, 2022
  4. linked a pull request that will close this issueKeyword argument checking #713on Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions