You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This wasn't caught by the test suite for the following reason:
In the following lines, everything that is in kwargs but not in default_dict (for instance poloidal_coverage_angle and poloidal_placement_angle) is not passed to the inherited class.
And since the correct arguments ( polar_coverage_angle and polar_placement_angle) are optionnal, no error was raised.
In the following lines, the arguments
poloidal_coverage_angle
andpoloidal_placement_angle
are wrongparamak/examples/example_parametric_components/make_all_parametric_components.py
Lines 320 to 326 in c314ef6
This wasn't caught by the test suite for the following reason:
In the following lines, everything that is in
kwargs
but not indefault_dict
(for instancepoloidal_coverage_angle
andpoloidal_placement_angle
) is not passed to the inherited class.And since the correct arguments (
polar_coverage_angle
andpolar_placement_angle
) are optionnal, no error was raised.paramak/paramak/parametric_components/port_cutters.py
Lines 53 to 94 in 7f5acbd
What's done in #354 and #357 allowed to catch this bug in the test suite ... 🙄
The text was updated successfully, but these errors were encountered: