Skip to content

Failing example related to PyEDB #509

@SMoraisAnsys

Description

@SMoraisAnsys

Some examples related to pyedb are currently breaking the examples documentation build.

For example, test python file "examples\edb\use_configuration\import_setup_ac.py"

which comes with the following error

ValidationError: 2 validation errors for CfgSIwaveACSetup
freq_sweep.0.frequencies.0.CfgFrequencies.distribution
  Input should be 'linear_step', 'log_step', 'single', 'linear_count', 'log_count', 'linear scale', 'log scale' or 'linear count' [type=literal_error, input_value='log_scale', input_type=str]
    For further information visit https://errors.pydantic.dev/2.12/v/literal_error
freq_sweep.0.frequencies.0.str
  Input should be a valid string [type=string_type, input_value={'distribution': 'log_sca...0000.0, 'increment': 20}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.12/v/string_type

See https://github.com/ansys/pyaedt-examples/actions/runs/21308477886/job/61340737692

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions