OpenMDAO / Aviary

NASA's aircraft analysis, design, and optimization tool
https://openmdao.github.io/Aviary/
Other
106 stars 51 forks source link

Refactor assert that checks whether the variable hierarchy is in proper alphabetical order. #335

Closed Kenneth-T-Moore closed 1 week ago

Kenneth-T-Moore commented 2 weeks ago

Summary

Refactor the assert that checks whether the variable hierarchy is in proper alphabetical order so that it is cleaner and works with arbitrary depth.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

Kenneth-T-Moore commented 1 week ago

Thanks for testing it out, Jason. Yeah, that doesn't look ideal, so I reworked the logic to allow the subclasses to be listed after the variables, which is much more readable.