Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve input checks and error behavior #406

@OrtnerMichael

Description

@OrtnerMichael
  • Complete input checks for all inputs !!! (How to add input checks at core level so they are not called twice when coming from level 1 ?)
  • Properly format error messages
  • Remove MagpylibXXXErrors, possibly replace with a single MagpylibError only, or better refer to standard error messages
  • Define "good inputs" and "bad inputs" in a separate file for easy input review and easy testing
  • include input checks for default_settings so that a user cannot make strange settings and default to them
  • address scalar number input should not allow bool
  • properly rework the utility - good/bad - error_msg - input_checks structure

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions